We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4723de3 commit 3fcc061Copy full SHA for 3fcc061
types/vitest.d.ts
@@ -1,15 +1,11 @@
1
import {type expect} from 'vitest'
2
import {type TestingLibraryMatchers} from './matchers'
3
4
-declare module 'vitest' {
5
- interface Assertion<T = any>
+export {}
+declare module '@vitest/expect' {
6
+ interface JestAssertion<T = any>
7
extends TestingLibraryMatchers<
8
ReturnType<typeof expect.stringContaining>,
9
T
10
> {}
- interface AsymmetricMatchersContaining
11
- extends TestingLibraryMatchers<
12
- ReturnType<typeof expect.stringContaining>,
13
- any
14
- > {}
15
}
0 commit comments