[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

fix: deprecate unused types in matcher context (#9449)

authored by

Vladimir and committed by
GitHub
(Jan 15, 2026, 12:53 PM +0100) 20f8753a 1ba14a2f

+12 -2
+12 -2
packages/expect/src/types.ts
··· 47 47 customTesters: Array<Tester> 48 48 assertionCalls: number 49 49 currentTestName?: string 50 + /** 51 + * @deprecated exists only in types 52 + */ 50 53 dontThrow?: () => void 54 + /** 55 + * @deprecated exists only in types 56 + */ 51 57 error?: Error 52 58 equals: ( 53 59 a: unknown, ··· 55 61 customTesters?: Array<Tester>, 56 62 strictCheck?: boolean, 57 63 ) => boolean 64 + /** 65 + * @deprecated exists only in types 66 + */ 58 67 expand?: boolean 59 68 expectedAssertionsNumber?: number | null 60 69 expectedAssertionsNumberErrorGen?: (() => Error) | null 61 70 isExpectingAssertions?: boolean 62 71 isExpectingAssertionsError?: Error | null 63 72 isNot: boolean 64 - // environment: VitestEnvironment 65 73 promise: string 66 - // snapshotState: SnapshotState 74 + /** 75 + * @deprecated exists only in types 76 + */ 67 77 suppressedErrors: Array<Error> 68 78 testPath?: string 69 79 utils: ReturnType<typeof getMatcherUtils> & {