Skip to content

Commit 780e8a0

Browse files
committed
[Tests] run nyc in tests-only, not test
1 parent cd2cf9b commit 780e8a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"prepublishOnly": "safe-publish-latest",
1919
"lint": "eslint .",
2020
"pretest": "npm run lint",
21-
"tests-only": "tape 'test/**/*.js'",
22-
"test": "nyc npm run tests-only",
21+
"tests-only": "nyc tape 'test/**/*.js'",
22+
"test": "npm run tests-only",
2323
"posttest": "aud --production",
2424
"version": "auto-changelog && git add CHANGELOG.md",
2525
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""

0 commit comments

Comments
 (0)