Skip to content

Document Snapshot behavior on CI #9694

@hi-ogawa

Description

@hi-ogawa

Discussed in #9693

Originally posted by snebjorn February 19, 2026
I'm trying to figure out how snapshots behave when running in CI.

This doesn't seem to be covered by https://vitest.dev/guide/snapshot.html
Is there another place this is documented?

I found #7963 which seems to suggest that obsolete snapshot will causes failed tests when running in CI. Though I'm not exactly sure what obsolete means here :) But never the less this is good.

Where can I find out how the snapshots behave when running in CI?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions