Skip to content

Commit 02d5cae

Browse files
author
roman.vasilev
committed
docs: Updated README
1 parent 6bf45f1 commit 02d5cae

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,18 @@ it('hello world test', () => {
1919
});
2020
```
2121

22-
### After
22+
### After (`it` removed)
2323
```js
2424
function hello(greet) {
2525
if (greet === void 0) { greet = 'world'; }
2626
return "hello " + greet;
2727
}
2828
````
2929

30+
### Pros and Cons
31+
\+ All in one file
32+
\- Collecting coverage can be tricky
33+
3034
## Installation
3135
```sh
3236
npm install --save-dev typescript-transform-unspec

jest.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ module.exports = {
1414
'!src/**/*.spec.ts',
1515
],
1616
testMatch: [
17-
'<rootDir>/src/**/*.spec.ts'
17+
'<rootDir>/src/**/*.spec.ts',
18+
'<rootDir>/src/example.ts',
1819
],
1920
moduleFileExtensions: [
2021
'ts',

0 commit comments

Comments
 (0)