feat: add jest-dom matchers reference for vitest in test shims

This commit is contained in:
GitHub Actions
2026-01-02 01:49:29 +00:00
parent 7e2c7005c9
commit 011ac1d3ab

View File

@@ -1,4 +1,8 @@
// Test-only type shims to satisfy strict type-checking in CI
// Import jest-dom matchers for vitest
/// <reference types="@testing-library/jest-dom/vitest" />
// Properly type the default export from @testing-library/user-event
declare module '@testing-library/user-event' {
import type { UserEvent } from '@testing-library/user-event/dist/types/setup/setup'