grep links for test names with dots "." don't get escaped correctly. #2070
Labels
area: browser
browser-specific
area: reporters
involving a specific reporter
status: waiting for author
waiting on response from OP - more information needed
type: bug
a defect, confirmed by a maintainer
Steps to Reproduce:
Expected result:
Link reduces the tests to be run to those inside crud-behavior-basic.html file.
Generated link has: grep=crud-behavior-basic.html
Actual result:
No tests are run.
Generated link has: grep=crud-behavior-basic%5C.html
Related bug: #1687
Related PR: #1698
It appears the following line of code is overzealous. Replacing the . with %5C
https://github.com/benvinegar/mocha/commit/3166e701a356d472656878ae78e5b819099f95d9#diff-998e3fb668a2094eedccab3e56199e4fR204
The text was updated successfully, but these errors were encountered: