Skip to content

Commit

Permalink
Target test modules with a glob.
Browse files Browse the repository at this point in the history
This avoids the Node.js test runner automatically attempting to run all modules in the `test` directory.
  • Loading branch information
jaydenseric committed Oct 1, 2024
1 parent dd76565 commit ea1f22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"eslint": "eslint .",
"prettier": "prettier -c .",
"types": "tsc -p jsconfig.json",
"tests": "coverage-node --test-reporter=spec --test",
"tests": "coverage-node --test-reporter=spec --test *.test.mjs",
"test": "npm run eslint && npm run prettier && npm run types && npm run tests",
"prepublishOnly": "npm test"
}
Expand Down

0 comments on commit ea1f22f

Please sign in to comment.