Skip to content
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

show snapshots in test file instead of .snap file for no-large-snapshots #287

Open
benmonro opened this issue Jun 24, 2019 · 1 comment
Open

Comments

@benmonro
Copy link
Contributor

I would like to be able to have the no-large-snapshot rule report in the .js file that is calling .toMatchSnapshot() instead of in the .snap file. Currently there's no way to disable an error for a large snapshot because if you add a comment to the .snap file, it will get wiped out the next time that same file is updated.

@benmonro
Copy link
Contributor Author

fixed in #282

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant