Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions packages/expect/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,33 @@ export interface MatcherState {
customTesters: Array<Tester>
assertionCalls: number
currentTestName?: string
/**
* @deprecated exists only in types
*/
dontThrow?: () => void
/**
* @deprecated exists only in types
*/
error?: Error
equals: (
a: unknown,
b: unknown,
customTesters?: Array<Tester>,
strictCheck?: boolean,
) => boolean
/**
* @deprecated exists only in types
*/
expand?: boolean
expectedAssertionsNumber?: number | null
expectedAssertionsNumberErrorGen?: (() => Error) | null
isExpectingAssertions?: boolean
isExpectingAssertionsError?: Error | null
isNot: boolean
// environment: VitestEnvironment
promise: string
// snapshotState: SnapshotState
/**
* @deprecated exists only in types
*/
suppressedErrors: Array<Error>
testPath?: string
utils: ReturnType<typeof getMatcherUtils> & {
Expand Down
Loading