Created
March 21, 2018 14:27
-
-
Save KeKs0r/f7a6272534f71ad73bbc9c3e0eb5a91a to your computer and use it in GitHub Desktop.
Debug Jest Tests in VSCode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Jest", | |
"type": "node", | |
"request": "launch", | |
"env": { | |
"NODE_ENV": "test" | |
}, | |
"cwd": "${workspaceRoot}", | |
"program": "${workspaceRoot}/node_modules/.bin/jest", | |
"stopOnEntry": false, | |
"args": ["--runInBand", "${file}"], | |
"runtimeArgs": ["--nolazy"], | |
"console": "internalConsole", | |
"sourceMaps": true, | |
"internalConsoleOptions": "openOnSessionStart" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment