MCPcopy
hub / github.com/jestjs/jest / setState

Method setState

packages/expect/src/types.ts:99–99  ·  view source on GitHub ↗
(state: Partial<MatcherState>)

Source from the content-addressed store, hash-verified

97 getState(): MatcherState;
98 hasAssertions(): void;
99 setState(state: Partial<MatcherState>): void;
100}
101
102export type Expect = (<T = unknown>(

Callers 10

runFunction · 0.65
initializeFunction · 0.65
eventHandlerFunction · 0.65
_addSuppressedErrorsFunction · 0.65
onKeypressFunction · 0.65
_bailIfNeededMethod · 0.65
addSuppressedErrorsFunction · 0.65
constructorMethod · 0.65
setupJestGlobalsFunction · 0.65
jestExpectAdapterFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected