Skip to content

Commit a508031

Browse files
author
Simon Renoult
committed
chore: add watch command for tests
1 parent 87d4b12 commit a508031

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"lint": "eslint --ext .ts .",
2323
"prepare": "npm run lint && npm run build",
2424
"postversion": "git push --tags",
25-
"test": "mocha test/*.ts --require ts-node/register"
25+
"test": "mocha --require ts-node/register test/*.ts",
26+
"test:watch": "mocha --require ts-node/register --watch --watch-files src/*.ts, test/*.ts"
2627
},
2728
"keywords": [
2829
"complexity",

0 commit comments

Comments
 (0)