Skip to content

Vitest: Incorrect filename when running concurrently #356

@HalfdanJ

Description

@HalfdanJ

When using jest-image-snapshots in vitest, the naming of the snapshot files are incorrect when a test suite is run concurrently (describe.concurrent().

Instead of getting the name of each test, it instead gets the name of the last test in the suite, appended with an index, and the order depends on which tests finish first.

I'm unsure if this is a vitest issue or jest-image-snapshot issue.

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