differencify
differencify copied to clipboard
When on jest mode, update mode should only update failed tests
Current behavior: Currently, when on jest mode, --updatesnapshots will update all tests.
Expected behavior: Update should only update failed snapshots
+1. Would love this feature!
Hey @simondib, I am working on this feature, but in meanwhile it is feasible to update only failing tests. Here are the steps you need to take: Option 1:
- only run failing tests and update all failing with
--updatesnapshotscommand, or pressuwhen in interactive mode
Option 2:
- Run all test in interactive mode, when you got some failing tests, press
tand type failing test name. Jest will only run the failing test again. Now you can pressuto only update this test
Hope this helps