Skip to content

Commit 7c128ab

Browse files
committedDec 16, 2020
workflow: add script to unit tests coverage.
1 parent 066f54a commit 7c128ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"test-unit": "npm run base-test-unit test/unit",
1212
"test-functional": "mocha -t 60000 --require test/hooks_functional.js --recursive test/functional",
1313
"test-with-coverage": "nyc -n src -r html cross-env npm run test-unit",
14+
"test-with-coverage_lcov": "nyc -n src --reporter=lcov cross-env npm run test-unit",
1415
"base-test-unit": "cross-env BABEL_DISABLE_CACHE=1 mocha --require @babel/register --file test/unit/bootstrap.js",
1516
"build": "cross-env NODE_ENV=production webpack",
1617
"transpile": "cross-env BABEL_DISABLE_CACHE=1 babel src --out-dir lib",

0 commit comments

Comments
 (0)
Please sign in to comment.