Created
September 29, 2021 14:18
-
-
Save ikondrat/8220c8f2b35100c191af0ae94ede4e32 to your computer and use it in GitHub Desktop.
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
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "node", | |
| "name": "vscode-jest-tests", | |
| "request": "launch", | |
| "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/jest", | |
| "args": [ | |
| "test", | |
| "--env=jsdom", | |
| "--runInBand", | |
| "--colors=true", | |
| "--watchAll=false" | |
| ], | |
| "cwd": "${workspaceFolder}", | |
| "console": "integratedTerminal", | |
| "protocol": "inspector", | |
| "internalConsoleOptions": "neverOpen", | |
| "disableOptimisticBPs": true | |
| }, | |
| { | |
| "type": "node", | |
| "name": "Run test", | |
| "request": "launch", | |
| "console": "integratedTerminal", | |
| "internalConsoleOptions": "neverOpen", | |
| "disableOptimisticBPs": true, | |
| "program": "${workspaceFolder}/node_modules/.bin/jest", | |
| "args": ["test", "--color", "--u", "--runTestsByPath", "${relativeFile}"] | |
| }, | |
| ] | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
put it to the .vscode folder