.toMatchSnapshot().
The first time this test runs, Bun writes a snapshot file to a
__snapshots__ directory alongside the test file.
File Tree
To regenerate snapshots, use the
--update-snapshots flag.
terminal
See Snapshots.
.toMatchSnapshot().
__snapshots__ directory alongside the test file.
--update-snapshots flag.