mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user