Skip to content

Instantly share code, notes, and snippets.

@C1aud3
Created August 13, 2018 18:49
Show Gist options
  • Save C1aud3/d844bc267b51dbd4dca105ce8efe6238 to your computer and use it in GitHub Desktop.
Save C1aud3/d844bc267b51dbd4dca105ce8efe6238 to your computer and use it in GitHub Desktop.
jest launch config
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest All",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["--runInBand"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"type": "node",
"request": "launch",
"name": "Jest Current File",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["${relativeFile}"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment