Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vitest: Incorrect filename when running concurrently #356

Open
HalfdanJ opened this issue Aug 2, 2024 · 0 comments
Open

Vitest: Incorrect filename when running concurrently #356

HalfdanJ opened this issue Aug 2, 2024 · 0 comments

Comments

@HalfdanJ
Copy link

HalfdanJ commented Aug 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant