Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jestjs/jest
/ formatExpected
Function
formatExpected
packages/expect/src/toThrowMatchers.ts:404–405 ·
view source on GitHub ↗
(label: string, expected: unknown)
Source
from the content-addressed store, hash-verified
402
};
403
404
const
formatExpected = (label: string, expected: unknown) =>
405
`${label + printExpected(expected)}\n`;
406
407
const
formatReceived = (
408
label: string,
Callers
4
toThrowExpectedRegExp
Function · 0.85
toThrowExpectedAsymmetric
Function · 0.85
toThrowExpectedObject
Function · 0.85
toThrowExpectedString
Function · 0.85
Calls
1
printExpected
Function · 0.90
Tested by
no test coverage detected