workflow: cross platform vscode jest debugging (#414)
remove no longer needed proxy script
This commit is contained in:
parent
c7cd386194
commit
b015892de6
7
.vscode/launch.json
vendored
7
.vscode/launch.json
vendored
@ -8,7 +8,7 @@
|
||||
"name": "Jest",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/scripts/jest.js",
|
||||
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
||||
"stopOnEntry": false,
|
||||
"args": ["${fileBasename}", "--runInBand", "--detectOpenHandles"],
|
||||
"cwd": "${workspaceFolder}",
|
||||
@ -19,7 +19,10 @@
|
||||
"NODE_ENV": "development"
|
||||
},
|
||||
"console": "integratedTerminal",
|
||||
"sourceMaps": true
|
||||
"sourceMaps": true,
|
||||
"windows": {
|
||||
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,7 +0,0 @@
|
||||
/**
|
||||
* This file is the entry for debug single test file in vscode
|
||||
*
|
||||
* Not using node_modules/.bin/jest due to cross platform issues, see
|
||||
* https://github.com/microsoft/vscode-recipes/issues/107
|
||||
*/
|
||||
require('jest').run(process.argv)
|
Loading…
Reference in New Issue
Block a user