chore: clean .gitignore cache
This commit is contained in:
13
frontend/src/types/test-shims.d.ts
vendored
13
frontend/src/types/test-shims.d.ts
vendored
@@ -1,13 +0,0 @@
|
||||
// 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'
|
||||
const userEvent: UserEvent
|
||||
export default userEvent
|
||||
export { userEvent }
|
||||
export type { UserEvent }
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
// ambient module declaration to satisfy typescript in editor environment
|
||||
declare module '@testing-library/user-event' {
|
||||
const userEvent: unknown;
|
||||
export default userEvent;
|
||||
}
|
||||
Reference in New Issue
Block a user