Skip to content

Instantly share code, notes, and snippets.

@don-smith
Created August 12, 2018 10:16
Show Gist options
  • Save don-smith/a0526c49297f398d40a8ff97079317cd to your computer and use it in GitHub Desktop.
Save don-smith/a0526c49297f398d40a8ff97079317cd to your computer and use it in GitHub Desktop.
VS Code debugging config for Jest testing
{
"type": "node",
"request": "launch",
"name": "Jest All",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": [
"--runInBand",
"--testURL='http://localhost'"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"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