We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a073b08 commit 06d19baCopy full SHA for 06d19ba
types/vitest.d.ts
@@ -1,11 +1,15 @@
1
import {type expect} from 'vitest'
2
import {type TestingLibraryMatchers} from './matchers'
3
4
-export {}
5
-declare module '@vitest/expect' {
6
- interface JestAssertion<T = any>
+declare module 'vitest' {
+ interface Assertion<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