"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}",
"NODE_ENV": "development"
},
"console": "integratedTerminal",
- "sourceMaps": true
+ "sourceMaps": true,
+ "windows": {
+ "program": "${workspaceFolder}/node_modules/jest/bin/jest",
+ }
}
]
}
+++ /dev/null
-/**
- * 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)