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

Function unifiedDiff

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

* Returns a unified diff between two strings with coloured ANSI output. * * @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

mocha-browser.jsFile · 0.85

Calls 1

colorLinesFunction · 0.85

Tested by

no test coverage detected