Skip to content

Commit

Permalink
Update launch.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Sneed authored and Anthony Sneed committed Jun 23, 2019
1 parent 65d5a40 commit 6948d56
Showing 1 changed file with 26 additions and 12 deletions.
38 changes: 26 additions & 12 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,35 @@
"version": "0.2.0",
"configurations": [
{
"name": "Tests",
"name": "Tests - Current File",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"sourceMaps": true,
"runtimeArgs": [
"-i"
"args": [
"${fileBasenameNoExtension}",
"--config",
"jest.config.js"
],
"env": {
"NODE_ENV": "development"
},
"outFiles": [
"${workspaceRoot}/dist/**/*"
],
"cwd": "${workspaceRoot}"
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
}
},
{
"type": "node",
"request": "launch",
"name": "Test - All Files",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["--runInBand"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
}
}
]
}
}

0 comments on commit 6948d56

Please sign in to comment.