Last active
November 15, 2022 05:47
-
-
Save nickovchinnikov/ace62c117e6b6ff87f0fbfe96bb04164 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
https://code.visualstudio.com/docs/editor/variables-reference