mirror of
https://github.com/desktop/desktop
synced 2024-10-31 11:07:25 +00:00
46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Jest All",
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
|
|
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
|
|
"args": [
|
|
"--silent",
|
|
"--config",
|
|
"${workspaceFolder}/app/jest.unit.config.js"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"env": {
|
|
"ELECTRON_RUN_AS_NODE": "1"
|
|
},
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Jest Current",
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
|
|
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
|
|
"args": [
|
|
"--silent",
|
|
"--config",
|
|
"${workspaceFolder}/app/jest.unit.config.js",
|
|
"${relativeFile}"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
"env": {
|
|
"ELECTRON_RUN_AS_NODE": "1"
|
|
},
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
|
|
}
|
|
}
|
|
]
|
|
}
|