We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bf45f1 commit 02d5caeCopy full SHA for 02d5cae
README.md
@@ -19,14 +19,18 @@ it('hello world test', () => {
19
});
20
```
21
22
-### After
+### After (`it` removed)
23
```js
24
function hello(greet) {
25
if (greet === void 0) { greet = 'world'; }
26
return "hello " + greet;
27
}
28
````
29
30
+### Pros and Cons
31
+\+ All in one file
32
+\- Collecting coverage can be tricky
33
+
34
## Installation
35
```sh
36
npm install --save-dev typescript-transform-unspec
jest.config.js
@@ -14,7 +14,8 @@ module.exports = {
14
'!src/**/*.spec.ts',
15
],
16
testMatch: [
17
- '<rootDir>/src/**/*.spec.ts'
+ '<rootDir>/src/**/*.spec.ts',
18
+ '<rootDir>/src/example.ts',
moduleFileExtensions: [
'ts',
0 commit comments