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

Configuring Code Lens with different arguments #252

Open smith-xyz opened 2 years ago

smith-xyz commented 2 years ago

I may be missing something, but for the Run, Watch, Debug code lens settings, it would be nice to configure a set of arguments to each. My use case is that I tend to always want to use the Run with --coverage, debug/watch I do not want to use the --coverage on those.

Maybe it is already possible, if so let me know - wouldn't mind contributing to the docs on it if so.

sajTempler commented 2 years ago

👍

I have similar use case

I run unit tests with test with some jest configuration but for integration tests I use different jest config.

Would be great to have ability to specify own Code Lens command ? 🤔