Created
October 21, 2015 22:59
-
-
Save arschmitz/a388e23f4a20664c538f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.completedTests = []; | |
QUnit.start(); | |
setTimeout( function() { | |
QUnit.done( function( status ) { | |
setTimeout( function () { | |
var returnValue = { tests: window.completedTests, status: status }; | |
callback( returnValue ); | |
}, 100 ); | |
} ); | |
}, 50 ); | |
QUnit.testDone( function( test ) { | |
window.completedTests.push( test ); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment