-
Notifications
You must be signed in to change notification settings - Fork 599
Closed
Description
${file} on Windows returns absolute path with backslashes which are not accepted by node/jest.
I was able to fix it with ${relativeFile}.
Complete launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest All",
"program": "${workspaceRoot}/node_modules/jest/bin/jest",
"args": ["--runInBand"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"type": "node",
"request": "launch",
"name": "Jest Current File",
"program": "${workspaceRoot}/node_modules/jest/bin/jest",
"args": ["${relativeFile}"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels