From 067b9b43a1c324ed207c1471a9e1d18c1fd7c7ad Mon Sep 17 00:00:00 2001 From: MapleLeaf <19603573+itsMapleLeaf@users.noreply.github.com> Date: Wed, 22 Dec 2021 12:48:05 -0600 Subject: [PATCH] enable inspect flag on test watch --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 20ffe5a..c5a82aa 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "lint-fix": "pnpm lint -- --fix", "format": "prettier --write .", "test": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js", - "test-watch": "pnpm test -- --watch", + "test-watch": "node --experimental-vm-modules --no-warnings --inspect-brk node_modules/jest/bin/jest.js --watch --runInBand", "coverage": "pnpm test -- --coverage", "typecheck": "tsc --noEmit" },