MCPcopy Create free account
hub / github.com/ReactTraining/classic-react-workshop / errorDiff

Function errorDiff

subjects/04-Testing/mocha-browser.js:2262–2275  ·  view source on GitHub ↗

* Return a character diff for `err`. * * @api private * @param {String} actual * @param {String} expected * @return {string} the diff

(actual, expected)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

inlineDiffFunction · 0.85

Calls 1

colorLinesFunction · 0.85

Tested by

no test coverage detected