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

Add obsolete snapshot file name to the error message #8287

Closed
elengart opened this issue Apr 8, 2019 · 7 comments
Closed

Add obsolete snapshot file name to the error message #8287

elengart opened this issue Apr 8, 2019 · 7 comments

Comments

@elengart
Copy link

elengart commented Apr 8, 2019

🚀 Feature Proposal

Current output {n} obsolete snapshot files found...
Desired output {n} obsolete snapshot files found... + {/dir/filename(s)} ...

Motivation

Making jest output more informative to improve developers' productivity

Example

See above

Pitch

Why does this feature belong in the Jest core platform?

Common feature proposals that do not typically make it to core:

  • New matchers (see jest-extended)
  • Changes to the default reporter (use custom reporters instead)
  • Changes to node/jsdom test environments (use custom environments instead)
@SimenB
Copy link
Member

SimenB commented Apr 8, 2019

@pedrottimark, something for you 🙂

@pedrottimark
Copy link
Contributor

@SimenB has this change already been made recently? Here is what I see right now in my chore:

8287

P.S. There is a problem, though. It also reports “obsolete” snapshots when I filter with -t CLI option :(

@SimenB
Copy link
Member

SimenB commented Apr 8, 2019

@elengart which version of jest are you using?

@pedrottimark
Copy link
Contributor

It looks like available in Jest 22.4.4 or later from #6181 which closed #6074

Maybe affected by other CLI options? For example, I am not running in watch mode.

@elengart
Copy link
Author

elengart commented Apr 9, 2019

we are a couple of versions behind...thank you!

@SimenB
Copy link
Member

SimenB commented Apr 9, 2019

So we can close this?

@thymikee thymikee closed this as completed Apr 9, 2019
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants