firsttris / vscode-jest-runner

Simple way to run or debug one or more tests from context menu, codelens or command plalette
https://marketplace.visualstudio.com/items?itemName=firsttris.vscode-jest-runner
MIT License
265 stars 124 forks source link

Feature Proposal - Add a menu to launch test in watch mode #202

Closed ajubin closed 3 years ago

ajubin commented 3 years ago

Besides debug and run, it could be useful to be able to quickly launch test in watch mode

ajubin commented 3 years ago

@firsttris any update for this pr ?

firsttris commented 3 years ago

sorry mate, i was so bussy :(

good work, i reviewed your PR

firsttris commented 3 years ago

merged

ajubin commented 3 years ago

Hi, thanks for the merge :)

After some thoughts, I find it useful to have a debug codeLens because I run my tests more often in watch mode as in debug mode. Maybe this could be configured via settings.

For instance, instead of this

"jestrunner.disableCodeLens": false

we could have something like this :

"jestrunner.codeLens": ["run", "watch", "debug"]"

whats your opinion ?

firsttris commented 3 years ago

sounds good