Snapshot Tests#
This directory 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 test
# Run one fixture directly
pnpm test --root test/fixtures/summary