n_pazq
Last Updated: March 22, 2017
·
1.594K
· zerok

Delay test execution in Karma

Karma automatically starts the test-suite when it thinks everything has been loaded and is ready. If you disagree with Karma on the definition of "ready", disable the loaded hook

window.__karma__.loaded = function() {};

and then call the start function whenever your definition of "ready" applies :-)

window.__karma__.start();

1 Response
Add your response

28738

Thank you veeeeery much

over 1 year ago ·