Skip to content

All snapshots suddenly mismatched #300

@unional

Description

@unional

Vitest 3.1.2 has made a change to scale the iframe for non-ui case:

vitest-dev/vitest#6512

This cause all headless run to render in a viewport of different dimension, causing all snapshot to fail.

To workaround it, you need to delete the existing snapshots and regenerate them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions