Julien-R44 / japa-vscode

🧪 A Japa extension for VSCode
https://marketplace.visualstudio.com/items?itemName=jripouteau.japa-vscode
MIT License
17 stars 2 forks source link

Running tests on windows failed with this error. #1

Closed iyashpal closed 2 years ago

iyashpal commented 2 years ago

188117294-9ad0f678-99f8-4e30-ab83-7ac7a98f7e0b

Julien-R44 commented 2 years ago

Oh Powershell ! I use windows too but with Git Bash/ Cygwin. I'll look into it, thanks for the feedback

Julien-R44 commented 2 years ago

Should be fixed with v0.0.4 that I just published on the marketplace. Can you confirm if it's works for you? Thanks !

Melchyore commented 2 years ago

@Julien-R44 thank you for the fix, the error is gone, however, when it comes to specific test, it shows "NO TESTS EXECUTED"

image

Note: Runnig the test for the entire file works fine.

Julien-R44 commented 2 years ago

Oh yeah, it's not directly related but it's definitely a bug.

You have a "$width" in your test name that disappears (in the last line) because interpolated. I have to escape it. That's a nice edge case 😋

If you try with a test without $ it should work

Anyway thanks, I will take care of it!

Melchyore commented 2 years ago

Yup, after removing the $ sign, it works. Thank you!

iyashpal commented 2 years ago

Should be fixed with v0.0.4 that I just published on the marketplace. Can you confirm if it's works for you? Thanks !

Working good.

Thanks!