Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jestjs/jest
/ messageAndCause
Function
messageAndCause
packages/expect/src/toThrowMatchers.ts:523–525 ·
view source on GitHub ↗
(error: Error)
Source
from the content-addressed store, hash-verified
521
}
522
523
function
messageAndCause(error: Error) {
524
return
error.cause === undefined ?
'message'
:
'message and cause'
;
525
}
526
527
export
default matchers;
Callers
1
toThrowExpectedObject
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected