MCPcopy Index your code
hub / github.com/angular/angular / buildFailureMessage

Function buildFailureMessage

packages/core/test/render3/utils.ts:79–87  ·  view source on GitHub ↗
(
  actual: any,
  expected: any,
  pp: (value: any) => string,
)

Source from the content-addressed store, hash-verified

77}
78
79export function buildFailureMessage(
80 actual: any,
81 expected: any,
82 pp: (value: any) => string,
83): string {
84 const diffs: string[] = [];
85 listPropertyDifferences(diffs, '', actual, expected, 5, pp);
86 return '\n ' + diffs.join('\n ');
87}
88
89function listPropertyDifferences(
90 diffs: string[],

Callers 1

matchDebugFunction · 0.85

Calls 2

listPropertyDifferencesFunction · 0.85
joinMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…