Skip to content

Instantly share code, notes, and snippets.

@sorenlouv
Created October 11, 2017 11:09
Show Gist options
  • Save sorenlouv/78d2b90a73f6b71cee1e2f2f384a38bd to your computer and use it in GitHub Desktop.
Save sorenlouv/78d2b90a73f6b71cee1e2f2f384a38bd to your computer and use it in GitHub Desktop.
Run Jest in vscode with breakpoints
{
"version": "0.2.0",
"configurations": [
{
"name": "Jest",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/react-scripts/scripts/test.js",
"args": ["--runInBand", "--env=jsdom"],
"cwd": "${workspaceRoot}"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment