blob: 76efd6995c3bde3d2a79ce2ae1ddcfd5e3c1cfd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/* global window, jasmine */
/* eslint strict: 0 */
(function () {
var jasmineEnv = jasmine.getEnv();
jasmineEnv.updateInterval = 1000;
var trivialReporter = new jasmine.TrivialReporter();
jasmineEnv.addReporter(trivialReporter);
jasmineEnv.specFilter = function (spec) {
return trivialReporter.specFilter(spec);
};
var currentWindowOnload = window.onload;
var execJasmine = function () {
jasmineEnv.execute();
};
window.onload = function () {
if (currentWindowOnload) {
currentWindowOnload();
}
execJasmine();
};
}());
|