Skip to content

Commit

Permalink
Merge pull request #411 from casz/patch-1
Browse files Browse the repository at this point in the history
Add VS Code task to run selected test
  • Loading branch information
TimonVS committed Feb 2, 2020
2 parents 421930d + b38180e commit c09a029
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .vscode/launch.json
Expand Up @@ -29,6 +29,23 @@
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
}
}
},
{
"type": "node",
"request": "launch",
"name": "Jest Run Selected Test",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
},
"args": [
"${fileBasenameNoExtension}",
"-t",
"${selectedText}"
],
},
]
}

0 comments on commit c09a029

Please sign in to comment.