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
configure replacement of \
#33
Comments
Hi, could you provide an example of how you're using |
it's an odd use case with special syntax snapshot before this plugin:
snapshot after this plugin:
|
If you want to ensure that const object = {
body: '# First Page /.firstPage\\',
other: true,
};
expect(object).toMatchSnapshot();
expect(object.body).toEqual('# First Page /.firstPage\\'); |
Just chiming in that this is still an issue and is non trivial to debug. Would be nice to be able to configure it like @hipstersmoothie requested Specifically, this is a problem if you test regular expressions |
I use the
\
in some of my snapshots. i never test on windows so i don't need the character to be replaced. would be nice to be able to turn this functionality off somehowThe text was updated successfully, but these errors were encountered: