New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test file path not found when description contains escaped quotes #12
Comments
If you looks at the regex: the escaped characters are working fine and output of executing this regex against your it with or without escaped strings is the same
|
The problem is that the parameter There is some logic in I've created a minimal reproduction repo: https://github.com/xfh/karma-sonarqube-reporter-string-escaping When you run |
Thank you. I'm going to take a look at it during the next weekend. If you have found a solution, feel free to send a PR. |
@xfh I created a new branch with a correction. Could you verify if it was effective, please? I think you can check it out using the following commands:
Expected result:
Thanks! |
Thanks, that fixed the problem! I've run your new version also through my original project with 900 unit tests and nothing unexpected was reported. Looks good to me. |
@all-contributors please add @maurycyg as a contributor for bug. |
I've put up a pull request to add @maurycyg! 🎉 |
@all-contributors please add @xfh as a contributor for bug. |
I've put up a pull request to add @xfh! 🎉 |
When you have a description containing escaped strings as bellow, the test file path cannot be found:
The text was updated successfully, but these errors were encountered: