Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
102
export
type
Expect = (<T = unknown>(
Callers
10
run
Function · 0.65
initialize
Function · 0.65
eventHandler
Function · 0.65
_addSuppressedErrors
Function · 0.65
onKeypress
Function · 0.65
_bailIfNeeded
Method · 0.65
addSuppressedErrors
Function · 0.65
constructor
Method · 0.65
setupJestGlobals
Function · 0.65
jestExpectAdapter
Function · 0.65
Calls
no outgoing calls
Tested by
no test coverage detected