MCPcopy
hub / github.com/vitest-dev/vitest / printReceived

Function printReceived

packages/utils/src/diff/index.ts:431–433  ·  view source on GitHub ↗
(object: unknown)

Source from the content-addressed store, hash-verified

429}
430
431function printReceived(object: unknown): string {
432 return c.red(replaceTrailingSpaces(stringify(object)))
433}
434function printExpected(value: unknown): string {
435 return c.green(replaceTrailingSpaces(stringify(value)))
436}

Callers 1

printDiffOrStringifyFunction · 0.70

Calls 2

stringifyFunction · 0.90
replaceTrailingSpacesFunction · 0.70

Tested by

no test coverage detected