The v6.6.0 module augmentation for vitest's Assertion interface was broken with vitest 2.x. Upgrading to v6.9.1 fixes the ~47 typecheck errors (toBeInTheDocument, toHaveAttribute). Also adds vitest.d.ts to ensure the type augmentation is included in tsc compilation. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| app | ||
| components | ||
| lib | ||
| vitest.d.ts | ||