Skip to content

Commit ea1f22f

Browse files
committed
Target test modules with a glob.
This avoids the Node.js test runner automatically attempting to run all modules in the `test` directory.
1 parent dd76565 commit ea1f22f

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
@@ -86,7 +86,7 @@
8686
"eslint": "eslint .",
8787
"prettier": "prettier -c .",
8888
"types": "tsc -p jsconfig.json",
89-
"tests": "coverage-node --test-reporter=spec --test",
89+
"tests": "coverage-node --test-reporter=spec --test *.test.mjs",
9090
"test": "npm run eslint && npm run prettier && npm run types && npm run tests",
9191
"prepublishOnly": "npm test"
9292
}

0 commit comments

Comments
 (0)