From 2b702c74a61773c718b672d2187ba18a29558f2a Mon Sep 17 00:00:00 2001 From: roguib Date: Wed, 17 Feb 2021 21:09:12 +0100 Subject: [PATCH 1/2] fix debugging jest tests in windows --- .vscode/launch.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 66a5e2d..6eec422 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -15,6 +15,19 @@ ], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen" + }, + { + "type": "node", + "request": "launch", + "name": "Debug Jest Tests in Windows", + "program": "${workspaceFolder}/node_modules/.bin/jest", + "args": ["--runInBand"], + "console": "integratedTerminal", + "internalConsoleOptions": "neverOpen", + "disableOptimisticBPs": true, + "windows": { + "program": "${workspaceFolder}/node_modules/jest/bin/jest" + } } ] } From 7f6e7fe95f986ee5c9bfd65794b27e3b028f8d7a Mon Sep 17 00:00:00 2001 From: roguib Date: Tue, 23 Feb 2021 19:05:10 +0100 Subject: [PATCH 2/2] address changes --- .vscode/launch.json | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 6eec422..5740781 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,26 +5,9 @@ "name": "Debug Jest Tests", "type": "node", "request": "launch", - "runtimeArgs": [ - "--inspect-brk", - "${workspaceRoot}/node_modules/.bin/jest", - "--runInBand", - "end-to-end", - "-t", - "shared-with-dependencies" - ], - "console": "integratedTerminal", - "internalConsoleOptions": "neverOpen" - }, - { - "type": "node", - "request": "launch", - "name": "Debug Jest Tests in Windows", - "program": "${workspaceFolder}/node_modules/.bin/jest", "args": ["--runInBand"], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", - "disableOptimisticBPs": true, "windows": { "program": "${workspaceFolder}/node_modules/jest/bin/jest" }