UNPKG

karma-jasmine-diff-reporter

Version:
14 lines (11 loc) 338 B
'use strict'; module.exports = function diffWarning( expectedValue, actualValue, highlighter, options ) { return { expected: expectedValue.indent(options) + highlighter.warning(expectedValue.out(options)), actual: actualValue.indent(options) + highlighter.warning(actualValue.out(options)) }; };