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
264 stars 124 forks source link

feat: add option to run with coverage #279 #280

Closed DW8Reaper closed 1 year ago

DW8Reaper commented 1 year ago

I'm not sure what you git process is and how this build, version bumps or publishing work so I hope this PR is ok it is just code changes.

I didn't add any new tests because it is pretty tricky trying to write tests for jestRunner.ts because you can't easily mock service calls. I think this might be a good follow up PR.

firsttris commented 1 year ago

looks good!

firsttris commented 1 year ago

i removed the additional options from the context-menu to not spam the context-menu with to many options.

its still available in command-palette and configurable for code-lens.

i also adjusted some labels to make it more clear.

thx for your contribution.

DW8Reaper commented 1 year ago

That sounds good to me thanks @firsttris