MCPcopy Index your code
hub / github.com/mailru/FileAPI / formatMessage

Function formatMessage

tests/grunt-task/qunit.js:28–30  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

26
27 // Allow an error message to retain its color when split across multiple lines.
28 var formatMessage = function(str) {
29 return String(str).split('\n').map(function(s) { return s.magenta; }).join('\n');
30 };
31
32 // Keep track of failed assertions for pretty-printing.
33 var failedAssertions = [];

Callers 1

logFailedAssertionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected