mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 03:15:06 +03:00
* Remove jest and add vitest in its place. Refactor the jest setup into vitest. * Modify the expect extensions to work with vitest. * FIx the tests.
11 lines
254 B
TypeScript
11 lines
254 B
TypeScript
import 'vitest'
|
|
|
|
interface CustomMatchers<R = unknown> {
|
|
toMatchCriteria(criteria: string): R
|
|
}
|
|
|
|
declare module 'vitest' {
|
|
interface Assertion<T = any> extends CustomMatchers<T> {}
|
|
interface AsymmetricMatchersContaining extends CustomMatchers {}
|
|
}
|