Last active
March 4, 2019 09:58
-
-
Save LissetteIbnz/0206e3b36f148fd3a597dd3dcac50206 to your computer and use it in GitHub Desktop.
JEST: Configure launch.json File for your test framework
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 All", | |
"program": "${workspaceFolder}/node_modules/.bin/jest", | |
"args": ["--runInBand", "--config", "jest.config.js"], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"disableOptimisticBPs": true, | |
"windows": { | |
"program": "${workspaceFolder}/node_modules/jest/bin/jest", | |
} | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest Current File", | |
"program": "${workspaceFolder}/node_modules/.bin/jest", | |
"args": ["${relativeFile}", "--config", "jest.config.js"], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"disableOptimisticBPs": true, | |
"windows": { | |
"program": "${workspaceFolder}/node_modules/jest/bin/jest", | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment