Skip to content

Commit ce3aebe

Browse files
authored
Enable jest coverage (#1352)
* Enable jest coverage * Add `coverage/` to .gitignore The directory created by the test coverage check.
1 parent 693a40f commit ce3aebe

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ node_modules
33
*.sock
44
.idea
55
.vscode/
6+
coverage/

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
"typescript": "^3.9.7"
4343
},
4444
"typings": "typings/index.d.ts",
45+
"jest": {
46+
"collectCoverage": true
47+
},
4548
"engines": {
4649
"node": ">= 6"
4750
}

0 commit comments

Comments
 (0)