Skip to content

Commit bbafc4b

Browse files
committed
chore: create coverage dir
1 parent d76a5a6 commit bbafc4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"scripts": {
5252
"build": "rollup -c",
5353
"lint": "ls-lint && eslint --cache --cache-location .cache/ src && prettier --log-level error --ignore-path .gitignore --check --cache --cache-location .cache/.prettier src",
54-
"test": "node --test --experimental-test-coverage --test-reporter=lcov --test-reporter=dot --test-reporter-destination=coverage/lcov.info --test-reporter-destination=stdout src",
54+
"test": "mkdir -p coverage; node --test --experimental-test-coverage --test-reporter=lcov --test-reporter=dot --test-reporter-destination=coverage/lcov.info --test-reporter-destination=stdout src",
5555
"prepublishOnly": "npm run lint && npm run test && npm run build",
5656
"prepare": "husky"
5757
},

0 commit comments

Comments
 (0)