Skip to content

Instantly share code, notes, and snippets.

@alexandermitsyk
Created March 19, 2020 14:28
Show Gist options
  • Save alexandermitsyk/0e812ea6d8da4c2c1656d5f082f9587c to your computer and use it in GitHub Desktop.
Save alexandermitsyk/0e812ea6d8da4c2c1656d5f082f9587c to your computer and use it in GitHub Desktop.
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest single run all tests",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"args": [
"--verbose",
"-i",
"--no-cache"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"type": "node",
"request": "launch",
"name": "Jest watch all tests",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"args": [
"--verbose",
"-i",
"--no-cache",
"--watchAll"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"type": "node",
"request": "launch",
"name": "Jest watch current file",
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
"args": [
"${fileBasename}",
"--verbose",
"-i",
"--no-cache",
"--watchAll"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment