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

Remove Jest snapshots #4598

Closed
wants to merge 2 commits into from
Closed

Remove Jest snapshots #4598

wants to merge 2 commits into from

Conversation

joschi
Copy link
Contributor

@joschi joschi commented Feb 20, 2018

This PR removes some accidentally committed snapshots directories of Jest and adds them to the .gitignore file to prevent this from happening in the future.

Refs jestjs/jest#1650
Refs https://facebook.github.io/jest/docs/en/snapshot-testing.html

@joschi joschi added this to the 3.0.0 milestone Feb 20, 2018
@bernd bernd requested a review from edmundoa February 20, 2018 12:50
@edmundoa
Copy link
Contributor

Those snapshots are used in frontend tests and need to be in the repository. Snapshot tests compare results of generating the DOM tree for the component under test with the stored snapshot, helping us to spot unintentional changes in the component tree.

@edmundoa edmundoa closed this Feb 20, 2018
@joschi joschi deleted the remove-jest-snapshots branch February 20, 2018 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants