vscode-jest-runner icon indicating copy to clipboard operation
vscode-jest-runner copied to clipboard

Support running tests prefixed with `f` or `x`

Open jagomf opened this issue 3 years ago • 3 comments

Currently you get the Run | Debug commands on top of every describe, it, etc. image

In my case I need to keep compatibility with Karma/Jasmine, and for testing I sometimes need to rename describe or it to either fdescribe, xit, etc., but would still need the ability to run tests with vscode-jest-runner on demand with the command. image

Is it possible to make the Run | Debug commands appear on top of fdescribe, xdescribe, fit and xit as well?

jagomf avatar Jun 07 '21 12:06 jagomf

probably thats possible by including them here: https://github.com/firsttris/vscode-jest-runner/blob/14079944bbee5026689e489ce0808a76953642d1/src/util.ts#L24

have not tested it.

step for testing: 1.) clone the project

2.) npm install

3.) Go to Menu "Run" => "Start Debugging"

4.) test your test-project with the new vscode instance just opend.

regards Tristan

firsttris avatar Jun 07 '21 18:06 firsttris

What about the it?

jagomf avatar Jun 09 '21 08:06 jagomf

i think that might be a change to jest-editor-support

firsttris avatar Jun 09 '21 08:06 firsttris