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

Updating snapshots resets --watch state #6137

Closed
g-harel opened this issue May 5, 2018 · 2 comments
Closed

Updating snapshots resets --watch state #6137

g-harel opened this issue May 5, 2018 · 2 comments

Comments

@g-harel
Copy link
Contributor

g-harel commented May 5, 2018

🐛 Bug Report / To Reproduce

  • run tests in --watch mode.
  • press a to run all tests.
  • press u to update snapshots.

a option is forgotten.

Expected behavior

Should not forget watch mode options after updating snapshots.

Run npx envinfo --preset jest

  System:
    OS: Linux 4.13 Ubuntu 17.10 (Artful Aardvark)
    CPU: x64 Intel(R) Core(TM) i7-8550U CPU @1.80GHz
  Binaries:
    Node: 9.5.0 - ~/.nvm/versions/node/v9.5.0/bin/node
    npm: 6.0.0 - ~/.nvm/versions/node/v9.5.0/bin/npm
  npmPackages:
    jest: ^22.4.3 => 22.4.3
@SimenB
Copy link
Member

SimenB commented May 6, 2018

This was fixed in #5696. You can install jest@beta to test

@SimenB SimenB closed this as completed May 6, 2018
@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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants