gradio-5.35.0/gradio-5.35.0/.config/setup_vite_tests.ts

9 lines
256 B
TypeScript

import type { TestingLibraryMatchers } from "@testing-library/jest-dom/matchers";
import "@testing-library/jest-dom/vitest";
declare module "vitest" {
interface Assertion<T = any>
extends jest.Matchers<void, T>,
TestingLibraryMatchers<T, void> {}
}