You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In longer running tests with snapshots, I'm finding that watch mode duplicates the tests when snapshots are being updated. The tests themselves are not run more than once, but the view of the tests is itself duplicated. This happens regardless of the tests being concurrent or not.
jakebailey
changed the title
Tests are sometimes duplicated after hitting "u" in watch mode to update snapshots
Tests are duplicated after hitting "u" in watch mode to update snapshots
Jan 16, 2024
Describe the bug
In longer running tests with snapshots, I'm finding that watch mode duplicates the tests when snapshots are being updated. The tests themselves are not run more than once, but the view of the tests is itself duplicated. This happens regardless of the tests being concurrent or not.
Reproduction
Here's a github repo: https://github.com/jakebailey/vitest-watch-mode-bug
I've performed the steps listed in the readme in the below screencast:
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: