vscode-jest icon indicating copy to clipboard operation
vscode-jest copied to clipboard

Consider moving the "new snapshots" to be a new button on the bottom

Open orta opened this issue 8 years ago • 6 comments

'm unsure if an extension can have 2 bottom bar things, but I am seeing this new snapshots message all the time in my current work.

Ideally down here there'd be a "Update Snapshots" instead:

screen shot 2017-05-19 at 14 30 17

It's also not catching:

New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.

Maybe it could just look for something like this:

› 2 snapshot tests failed in 2 test suites. Inspect your code changes or press u to update them.

Notably

press u to update them

orta avatar May 19 '17 13:05 orta

Also, new snapshots should trigger it

screen shot 2017-05-19 at 14 54 46

orta avatar May 19 '17 13:05 orta

Can we add a option for update snapshot automatically no need confirm. I always click yes replace it. 😄

BANG88 avatar May 26 '17 13:05 BANG88

I believe you could just use pathToJest and pass --u as a parameter as part of that path.

bookman25 avatar May 26 '17 14:05 bookman25

Get. Thanks

BANG88 avatar May 26 '17 14:05 BANG88

I've wondered about this myself too

On May 26, 2017 15:51, "Qibang" [email protected] wrote:

Get. Thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/orta/vscode-jest/issues/111#issuecomment-304303547, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC_jh-pdxSn6YeYZkoOZ-9HKtaS-0rKks5r9ucMgaJpZM4Ngh9B .

orta avatar May 27 '17 10:05 orta

This issue has been inactive for over a year and has been marked as stale. It will be automatically closed in 30 days if no further activity occurs. Since significant changes have occurred in the codebase, please open a new issue with updated details if the problem still persists.

github-actions[bot] avatar Apr 10 '25 03:04 github-actions[bot]