Snapshot generated by toMatchSnapshot("...")
are considered obsolete for skipped tests
#7113
Open
6 tasks done
Labels
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
Related: #7106
We have an "obsolete protection" for auto-incremented snapshot name (
x test 1
andx test 2
in this case), but this probably isn't handling fortoMatchSnapshot("...")
API (y test > foo
andy test > bar
in this case).Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-mitcgkkj?file=test%2Fbasic.test.ts
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: