Skip to content

Commit

Permalink
Add jest debug launch
Browse files Browse the repository at this point in the history
  • Loading branch information
Benni-Math committed Sep 4, 2024
1 parent b5c168c commit cbd0168
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": "1.0.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest: current file",
//"env": { "NODE_ENV": "test" },
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["${fileBasenameNoExtension}"],
"console": "integratedTerminal",
// "disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
}
}
]
}

0 comments on commit cbd0168

Please sign in to comment.