[IMP] package.json: add remote test:debug command

Usage:
Open chrome://inspect then run in console:
> npm run test:debug ./path/to/your/testfile.ts
This commit is contained in:
Bruno Boi
2021-10-22 14:46:21 +02:00
committed by Aaron Bohy
parent a0e1af83ac
commit 42811344da
+1
View File
@@ -16,6 +16,7 @@
"build:bundle": "rollup -c",
"build": "npm run build:bundle",
"test": "jest",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"test:watch": "jest --watch",
"tools:serve": "python3 tools/server.py || python tools/server.py",
"tools": "npm run build && npm run tools:serve",