2018-10-30 15:34:53 +00:00
|
|
|
{
|
|
|
|
"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",
|
2019-01-02 17:09:47 +00:00
|
|
|
"${workspaceFolder}/app/jest.unit.config.js"
|
2018-10-30 15:34:53 +00:00
|
|
|
],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen",
|
2019-04-17 14:01:09 +00:00
|
|
|
"env": {
|
2018-10-30 15:34:53 +00:00
|
|
|
"ELECTRON_RUN_AS_NODE": "1"
|
|
|
|
},
|
|
|
|
"windows": {
|
|
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
|
2019-04-17 14:01:09 +00:00
|
|
|
}
|
2018-10-30 15:34:53 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Jest Current",
|
|
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
|
|
|
|
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
|
|
|
|
"args": [
|
|
|
|
"--silent",
|
|
|
|
"--config",
|
2019-01-02 17:09:47 +00:00
|
|
|
"${workspaceFolder}/app/jest.unit.config.js",
|
2018-10-30 15:34:53 +00:00
|
|
|
"${relativeFile}"
|
|
|
|
],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen",
|
2019-04-17 14:01:09 +00:00
|
|
|
"env": {
|
2018-10-30 15:34:53 +00:00
|
|
|
"ELECTRON_RUN_AS_NODE": "1"
|
|
|
|
},
|
|
|
|
"windows": {
|
|
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
|
2019-04-17 14:01:09 +00:00
|
|
|
}
|
|
|
|
}
|
2018-10-30 15:34:53 +00:00
|
|
|
]
|
2018-12-31 18:36:19 +00:00
|
|
|
}
|