stack/apps/e2e/tests/globals.d.ts
2024-10-11 17:09:24 -07:00

11 lines
275 B
TypeScript

import 'vitest';
interface CustomMatchers<R = unknown> {
toSatisfy: (predicate: (value: string) => boolean) => R,
}
declare module 'vitest' {
interface Assertion<T = any> extends CustomMatchers<T> {}
interface AsymmetricMatchersContaining extends CustomMatchers {}
}