Is your feature request related to a problem? Please describe.
Is it possible to review snapshots interactively? Both jest and Rust insta support this feature.
Describe the solution you'd like
Add a new --interactive flag to snapshot testing.
When the interactive flag is specified, write the new snapshot to a .snap.new file and spawn a TUI to let the users review it interactively.
This review interface maybe be provided as a function to be run in Deno.test.afterEach or Deno.test.afterAll hooks, so that users can use their own functions and have integration with editors like VSCode and NeoVim.
Describe alternatives you've considered
Is your feature request related to a problem? Please describe.
Is it possible to review snapshots interactively? Both
jestand Rustinstasupport this feature.Describe the solution you'd like
Add a new
--interactiveflag to snapshot testing.When the interactive flag is specified, write the new snapshot to a
.snap.newfile and spawn a TUI to let the users review it interactively.This review interface maybe be provided as a function to be run in
Deno.test.afterEachorDeno.test.afterAllhooks, so that users can use their own functions and have integration with editors like VSCode and NeoVim.Describe alternatives you've considered