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

Function getState

packages/expect/src/jestMatchersObject.ts:44–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44export const getState = <State extends MatcherState = MatcherState>(): State =>
45 (globalThis as any)[JEST_MATCHERS_OBJECT].state;
46
47export const setState = <State extends MatcherState = MatcherState>(
48 state: Partial<State>,

Callers 4

makeThrowingMatcherFunction · 0.90
processResultFunction · 0.90
getMatcherContextFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected