MCPcopy
hub / github.com/10bestdesign/jqvmap / pauseProcessing

Function pauseProcessing

tests/qunit/qunit.js:651–666  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

649 }
650
651 function pauseProcessing() {
652 config.blocking = true;
653
654 if ( config.testTimeout && defined.setTimeout ) {
655 clearTimeout( config.timeout );
656 config.timeout = setTimeout(function() {
657 if ( config.current ) {
658 config.current.semaphore = 0;
659 QUnit.pushFailure( "Test timed out", sourceFromStacktrace( 2 ) );
660 } else {
661 throw new Error( "Test timed out" );
662 }
663 resumeProcessing();
664 }, config.testTimeout );
665 }
666 }
667
668 function saveGlobal() {
669 config.pollution = [];

Callers 1

qunit.jsFile · 0.85

Calls 2

sourceFromStacktraceFunction · 0.85
resumeProcessingFunction · 0.85

Tested by

no test coverage detected