Skip to content

Commit

Permalink
jest debug config
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewesthad committed Aug 14, 2018
1 parent 54dd7ad commit ecc1f30
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .vscode/launch.json
@@ -0,0 +1,29 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest All",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["--runInBand", "--config=./config/jest.config.js"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
}
},
{
"type": "node",
"request": "launch",
"name": "Jest Current File",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["${relativeFile}", "--config=./config/jest.config.js"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
}
}
]
}

0 comments on commit ecc1f30

Please sign in to comment.