MCPcopy
hub / github.com/Mottie/Keyboard / pushFailure

Function pushFailure

testing/qunit-2.9.2.js:3459–3468  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3457 };
3458
3459 function pushFailure() {
3460 if (!config.current) {
3461 throw new Error("pushFailure() assertion outside test context, in " + sourceFromStacktrace(2));
3462 }
3463
3464 // Gets current test obj
3465 var currentTest = config.current;
3466
3467 return currentTest.pushFailure.apply(currentTest, arguments);
3468 }
3469
3470 function saveGlobal() {
3471 config.pollution = [];

Callers 4

runTestFunction · 0.85
checkPollutionFunction · 0.85
internalStopFunction · 0.85
internalStartFunction · 0.85

Calls 1

sourceFromStacktraceFunction · 0.85

Tested by

no test coverage detected