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
describe.concurrent with 3 test each writing an inline snapshot. Will not update the first test. Remove .concurrent and updates inline snapshot. Behavior is the same if .concurrent is on on tests.
Interestingly, it knows there is an obsolete snapshot:
Describe the bug
In the ongoing quest to get snapshot tests working, I found a simple working reproduction for issue.
Related: #2327 #4661 #1376 #4177
Maybe related: #1468 #2077 #2729 ##3360
Reproduction
StackBlitz reproduction
describe.concurrent
with 3test
each writing an inline snapshot. Will not update the first test. Remove.concurrent
and updates inline snapshot. Behavior is the same if.concurrent
is on ontest
s.Interestingly, it knows there is an obsolete snapshot:
System Info
StackBlitz https://stackblitz.com/edit/vitest-dev-vitest-2fucz2?file=test%2Frepo.test.ts
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: