MCPcopy Create free account
hub / github.com/caike/jQuery-Simple-Timer / runTest

Function runTest

tests/qunit-2.9.2.js:3043–3052  ·  view source on GitHub ↗
(test)

Source from the content-addressed store, hash-verified

3041 }
3042
3043 function runTest(test) {
3044 promise = test.callback.call(test.testEnvironment, test.assert);
3045 test.resolvePromise(promise);
3046
3047 // If the test has a "lock" on it, but the timeout is 0, then we push a
3048 // failure as the test should be synchronous.
3049 if (test.timeout === 0 && test.semaphore !== 0) {
3050 pushFailure("Test did not finish synchronously even though assert.timeout( 0 ) was used.", sourceFromStacktrace(2));
3051 }
3052 }
3053 },
3054
3055 after: function after() {

Callers 1

qunit-2.9.2.jsFile · 0.85

Calls 3

pushFailureFunction · 0.85
sourceFromStacktraceFunction · 0.85
toConsumableArrayFunction · 0.85

Tested by

no test coverage detected