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

Feature request: provide a way to disable warnings #9

Closed
BernieSumption opened this issue Jun 29, 2018 · 2 comments
Closed

Feature request: provide a way to disable warnings #9

BernieSumption opened this issue Jun 29, 2018 · 2 comments

Comments

@BernieSumption
Copy link

Some projects define tests in a way that trips up the static analysis used to tie test cases to snapshots, causing active snapshots to be incorrectly marked as redundant. My project uses a wrapper around it(). #1 is another example of such a configuration.

A simple work-around that would help me a lot is the ability to turn off the "The snapshot is redundant" warnings. That way, at least you don't get false positive warnings.

@asvetliakov
Copy link
Owner

Hello, looks like you're using snapshot-tools VS code extension.
If your project uses Typescript you can get rid off the vscode extension and use the TS language plugin instead (this repo). It doesn't have any validation.
I also have plan to replace snapshot-tools extension with bundled TS plugin. Give me a few days.

@asvetliakov
Copy link
Owner

Warnings are disabled starting from 0.1.0 version of vscode plugin.

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

2 participants