[IMP] package.json: add watch arg to test:debug command

Before this commit
The command "npm run test:debug" runs the tests once.

After this commit
Jest runs in watch mode
This commit is contained in:
Bruno Boi
2021-10-22 15:01:51 +02:00
committed by Aaron Bohy
parent 42811344da
commit aa3148eddf
+1 -1
View File
@@ -16,7 +16,7 @@
"build:bundle": "rollup -c",
"build": "npm run build:bundle",
"test": "jest",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",
"test:watch": "jest --watch",
"tools:serve": "python3 tools/server.py || python tools/server.py",
"tools": "npm run build && npm run tools:serve",