()
| 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 = []; |
no test coverage detected