MCPcopy Index your code
hub / github.com/deployd/deployd / stringifyDiffObjs

Function stringifyDiffObjs

test-app/public/mocha.js:1940–1945  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

1938 }
1939
1940 function stringifyDiffObjs(err) {
1941 if (!utils.isString(err.actual) || !utils.isString(err.expected)) {
1942 err.actual = utils.stringify(err.actual);
1943 err.expected = utils.stringify(err.expected);
1944 }
1945 }
1946
1947 /**
1948 * Returns a diff between 2 strings with coloured ANSI output.

Callers 2

mocha.jsFile · 0.85
BaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected