mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
e2e
Snapshots
This directory ./snapshots contains integration tests for Vitest's snapshot functionality. It uses a meta-testing approach where integration tests programmatically run fixture tests to validate snapshot behavior, such as, snapshot update, snapshot error formatting, summary reporting, obsolete snapshots handling, etc.
# Run all integration tests
pnpm -C test/e2e test --project=snapshots
# Run individual fixture directly
pnpm -C test/e2e test --root snapshots/fixtures/domain