Skip to content

Commit 09eb90d

Browse files
committed
Add test coverage flag.
1 parent 60b7c4b commit 09eb90d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"build": "echo 'Nothing to build'",
1616
"postbuild": "cp *.js README.md LICENSE NOTICE package.json lib",
1717
"lint": "eslint .",
18-
"test": "node --test",
18+
"test": "mkdir -p coverage && node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info",
1919
"prepare": "husky install"
2020
},
2121
"peerDependencies": {

0 commit comments

Comments
 (0)