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

Throw on test name collision #29

Open
andywer opened this issue Aug 27, 2018 · 0 comments
Open

Throw on test name collision #29

andywer opened this issue Aug 27, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@andywer
Copy link
Member

andywer commented Aug 27, 2018

Fail early in @shutter/core if shutter.snapshot() is called twice with the same test name.

Would crash anyway if rendered content is not exactly the same as both tests would write to the same snapshot file.

Make check case-insensitive.

@andywer andywer added the enhancement New feature or request label Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant