You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9329952
Browse filesBrowse the repository at this point in the historyBrowse files
test: verify snapshot updates in the Vitest snapshot e2e test
Extends the Vitest snapshot e2e test to cover updating existing snapshots
after a mismatch. Vitest reads the `UPDATE_SNAPSHOT` environment variable
directly, which is currently the way to request an update through `ng test`
without a Vitest configuration file since the builder does not forward the
`--update` flag.
The test now verifies that both the file snapshot and the inline snapshot
are rewritten on disk with the new output and that a subsequent run passes
without any further snapshot changes.
(cherry picked from commit 8b26efa)
0 commit comments