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> |
||
|---|---|---|
| .. | ||
| e2e | ||
| screenshots | ||
| src | ||
| next-env.d.ts | ||
| next.config.js | ||
| package.json | ||
| postcss.config.mjs | ||
| tsconfig.json | ||
| vitest.config.ts | ||