From aa3148eddf34bc520ead5fbc287b75a0fdb1fd1f Mon Sep 17 00:00:00 2001 From: Bruno Boi Date: Fri, 22 Oct 2021 15:01:51 +0200 Subject: [PATCH] [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 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0c46f114..7393f43f 100644 --- a/package.json +++ b/package.json @@ -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",