Skip to content

Commit

Permalink
[Tests] run nyc in tests-only, not test
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jan 5, 2022
1 parent cd2cf9b commit 780e8a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"prepublishOnly": "safe-publish-latest",
"lint": "eslint .",
"pretest": "npm run lint",
"tests-only": "tape 'test/**/*.js'",
"test": "nyc npm run tests-only",
"tests-only": "nyc tape 'test/**/*.js'",
"test": "npm run tests-only",
"posttest": "aud --production",
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
Expand Down

0 comments on commit 780e8a0

Please sign in to comment.