12 lines
326 B
JavaScript
12 lines
326 B
JavaScript
/* eslint-env node */
|
|
|
|
// overwrite the loaded method and manually start the karma after a delay
|
|
// Somehow the code initialized in jQuery's onready doesn't get called before karma auto starts
|
|
|
|
'use strict';
|
|
window.__karma__.loaded = function() {
|
|
setTimeout(function() {
|
|
window.__karma__.start();
|
|
}, 1000);
|
|
};
|