Skip to content

Instantly share code, notes, and snippets.

@PriyaBhatt13
Created September 12, 2018 05:56
Show Gist options
  • Save PriyaBhatt13/2a1e2a42908ac5088cca5cd4896dcf1e to your computer and use it in GitHub Desktop.
Save PriyaBhatt13/2a1e2a42908ac5088cca5cd4896dcf1e to your computer and use it in GitHub Desktop.
Launch.json file for debugging jest test cases in visual studio Code for Windows
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest Tests",
"program": "${workspaceRoot}\\node_modules\\jest-cli\\bin\\jest.js",
"args": [
"-i"
],
"console": "integratedTerminal",
"internalConsoleOptions": "openOnSessionStart",
"outFiles": [
"${workspaceRoot}/dist/**/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment