mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-27 02:30:17 +08:00
085ff0394d
* update deps + fix tests * tweak * fixes * changes * fix everything * fix checks * fix * log * remove logs * try this
12 lines
331 B
TypeScript
12 lines
331 B
TypeScript
import type { TestingLibraryMatchers } from "@testing-library/jest-dom/matchers";
|
|
import matchers from "@testing-library/jest-dom/matchers";
|
|
import { expect } from "vitest";
|
|
|
|
declare module "vitest" {
|
|
interface Assertion<T = any>
|
|
extends jest.Matchers<void, T>,
|
|
TestingLibraryMatchers<T, void> {}
|
|
}
|
|
|
|
expect.extend(matchers);
|