Skip to content

Instantly share code, notes, and snippets.

@dubzzz
Created September 26, 2019 07:20
Show Gist options
  • Save dubzzz/762a6884cc76eb706bc178c690edeeec to your computer and use it in GitHub Desktop.
Save dubzzz/762a6884cc76eb706bc178c690edeeec to your computer and use it in GitHub Desktop.
Configuration of VSCode to run Jest tests of fast-check locally
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Unit Tests",
"type": "node",
"request": "launch",
"runtimeArgs": [
"--inspect-brk",
"${workspaceRoot}/node_modules/jest/bin/jest.js",
"--runInBand",
"--config",
"jest.unit.config.js"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"port": 9229
},
{
"name": "Debug E2E Tests",
"type": "node",
"request": "launch",
"runtimeArgs": [
"--inspect-brk",
"${workspaceRoot}/node_modules/jest/bin/jest.js",
"--runInBand",
"--config",
"jest.e2e.config.js"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"port": 9229
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment