MCPcopy Create free account
hub / github.com/caolan/nodeunit / status_text

Function status_text

lib/reporters/nested.js:93–99  ·  view source on GitHub ↗
(txt, status)

Source from the content-addressed store, hash-verified

91 };
92
93 var status_text = function (txt, status) {
94 if (status === 'pass') {
95 return pass_text(txt);
96 } else {
97 return fail_text(txt);
98 }
99 };
100
101 /**
102 * Slices an array, returns a string by joining the sliced elements.

Callers 1

print_statusFunction · 0.85

Calls 2

pass_textFunction · 0.85
fail_textFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…