Created
January 5, 2022 17:23
-
-
Save arelra/c15ce8e84cb9a3f239e0fb02b7601e8c to your computer and use it in GitHub Desktop.
VSCode launch.json for Jest using package.json configuration
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 watch current file", | |
"program": "${workspaceFolder}/node_modules/jest/bin/jest", | |
"args": [ | |
"${fileBasename}", | |
"--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