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

Function inlineDiff

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

* Returns an inline diff between 2 strings with coloured ANSI output. * * @api private * @param {String} actual * @param {String} expected * @return {string} 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 2

errorDiffFunction · 0.85
padFunction · 0.85

Tested by

no test coverage detected