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 obsolete snapshots in the report #246

Open
insane-developer opened this issue Dec 16, 2022 · 0 comments
Open

Show obsolete snapshots in the report #246

insane-developer opened this issue Dec 16, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@insane-developer
Copy link

Is your feature request related to a problem? Please describe.
Jest fails (=exits with nonzero status) when a snapshot become obsolete (i.e. when a snapshot assertion has been deleted but a corresponding snapshot has not).
Reports made by the current version of a reporter make this situation extremely unclear: all tests in the report are green, but the test run failed.

Describe the solution you'd like

Add an additional failure record about obsolete snapshots to the corresponding group in the report

Describe alternatives you've considered

Reporter jest-html-reporter have an option to show such obsolete snapshots

@insane-developer insane-developer added the enhancement New feature or request label Dec 16, 2022
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

2 participants