vscode-jest-runner
vscode-jest-runner copied to clipboard
Support running tests prefixed with `f` or `x`
Currently you get the Run | Debug
commands on top of every describe
, it
, etc.
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.
Is it possible to make the Run | Debug
commands appear on top of fdescribe
, xdescribe
, fit
and xit
as well?
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
What about the it
?
i think that might be a change to jest-editor-support