From 25911fc11fe11d9636013536cdc507719f4ac36d Mon Sep 17 00:00:00 2001 From: Mike Chelen Date: Mon, 3 Dec 2018 18:49:34 -0500 Subject: [PATCH] Add `test:debug` command Runs Jest with `--inspect-brk` flag and appropriate TS modules. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index aaee9ba..dbc1e85 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage", + "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", "test:e2e": "jest --config ./test/jest-e2e.json" }, "dependencies": {