toMatchInlineSnapshot
does not clear existing snapshot in external file
#6704
Labels
toMatchInlineSnapshot
does not clear existing snapshot in external file
#6704
🐛 Bug Report
A clear and concise description of what the bug is.
To Reproduce
Run that test and the snapshot is saved.
Change to
and the snapshot will be added inline, but the original snapshot (in
__snapshots__
) will not be deleted.Expected behavior
The original snapshot on disk should be deleted.
Link to repl or repo (highly encouraged)
https://github.com/SimenB/jest-inline
Run
npx envinfo --preset jest
Paste the results here:
The text was updated successfully, but these errors were encountered: