Skip to content

Commit 54a5155

Browse files
committed
test: add coverage report
1 parent 64be762 commit 54a5155

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ dist
55
link.sh
66
.cache
77
TODOs.md
8+
coverage

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dev": "tsc --watch",
1313
"build": "tsc",
1414
"pretest": "tsc",
15-
"test": "jest",
15+
"test": "jest --coverage",
1616
"dev-example": "webpack-dev-server --config example/webpack.config.js --inline --hot",
1717
"build-example": "rm -rf example/dist && webpack --config example/webpack.config.js --env.prod",
1818
"lint": "prettier --write --parser typescript \"{src,test}/**/*.{j,t}s\"",

0 commit comments

Comments
 (0)