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
When running vitest with --pool=vmThreads it should update the correct inline snapshots, but instead the edits happen at a different inline snapshot or other unrelated line.
It depends on the order of tests and how many there are, works again when deleting e.g. the first 4 tests
The way the bug manifested in inline snapshots is very bizarre, but the actual cause seems to be a sourcemap/stacktrace issue on vmThreads. For example, this simple one doesn't work either.
Describe the bug
When running vitest with
--pool=vmThreads
it should update the correct inline snapshots, but instead the edits happen at a different inline snapshot or other unrelated line.It depends on the order of tests and how many there are, works again when deleting e.g. the first 4 tests
Current output:
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-rufvf3?file=test%2Fbasic.test.ts
Only affects node, don't run it in StackBlitz
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: