Last active
September 30, 2015 20:06
-
-
Save benshine/cc63070631d4d131e9a5 to your computer and use it in GitHub Desktop.
This file contains 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
export default function pauseTest(context, doneCallback, durationInSeconds = 36000) { | |
console.warn(`pauseTest is pausing for ${durationInSeconds} seconds, hi!`); | |
context.enableTimeouts(false); | |
$('#ember-testing-container').css('height', '100%'); | |
$('#ember-testing-container').css('width', '100%'); | |
$('#ember-testing').css('zoom', '100%'); | |
window.setTimeout(function() { | |
console.info('done with timeout'); | |
doneCallback(); | |
}, durationInSeconds * 1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment