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

escape special characters in test filepath (#114) #162

Closed MGough closed 3 years ago

MGough commented 3 years ago

This escapes special characters to allow tests to be run even if they have special characters in the test file filepath.

This fixes the issue when running the development (debugging mode). I've attempted to add a test, although I was unable to get the tests on master passing as-is, so I've not made much progress with this. My concern with the addition of this test is that it might just be ignored if the new behaviour is reverted, and as it won't be run it won't fail.

firsttris commented 3 years ago

@MGough thx for your contribution. Test-Suite is not working yet. Needs some work.