mirror of
https://github.com/desktop/desktop
synced 2024-08-24 18:57:33 +00:00
47 lines
1.3 KiB
JSON
47 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"
|
|
}
|
|
}
|
|
]
|
|
}
|