Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(privateMocks): allow replacing
$prop
with strings with special …
…RegExp semantics `baseThey` used to construct the testcase description by replacing `$prop` using a RegExp. If the replacement string contained `$&` (which has a special meaning with RegExps), the resulting string was not as expected.x
- Loading branch information
031303d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private code should not get fix(..., because it will then go into the changelog. Just refactor / chore should be fine. Or test? Since it concerns tests.
031303d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I'll fix the commit message.