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();
Written by Horst Gutmann
Related protips
1 Response

Thank you veeeeery much
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Testing
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#