-
-
Save chrisgate/74a8e9dc4657c43f1c3cf4aba2932c5c to your computer and use it in GitHub Desktop.
vscode jest debug config
This file contains 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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest single run all tests", | |
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js", | |
"args": [ | |
"--verbose", | |
"-i", | |
"--no-cache" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest watch all tests", | |
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js", | |
"args": [ | |
"--verbose", | |
"-i", | |
"--no-cache", | |
"--watchAll" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest run current file", | |
"program": "${workspaceFolder}/node_modules/jest/bin/jest", | |
"args": [ | |
"${file}", | |
"--verbose", | |
"-i", | |
"--no-cache" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest watch current file", | |
"program": "${workspaceFolder}/node_modules/jest/bin/jest", | |
"args": [ | |
"${file}", | |
"--verbose", | |
"-i", | |
"--no-cache", | |
"--watchAll" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment