2 <html lang=
"en" id=
"html">
6 <!-- Karma serves this page from /context.html. Other files are served from /base -->
7 <link rel=
"stylesheet" href=
"/base/test/data/testsuite.css" />
10 <div id=
"qunit"></div>
12 <!-- Start: jQuery Test HTML -->
13 <!-- this iframe is outside the #qunit-fixture so it won't waste time by constantly reloading; the tests are "safe" and clean up after themselves -->
14 <iframe id=
"loadediframe" name=
"loadediframe" style=
"display:none;" src=
"/base/test/data/iframe.html"></iframe>
15 <div id=
"qunit-fixture"></div>
16 <!-- End: jQuery Test HTML -->
18 <!-- Start: Karma boilerplate -->
19 <script src=
"/context.js"></script>
22 window
.__karma__
.setupContext(window
);
27 <!-- End: Karma boilerplate -->
29 <script src=
"/base/test/data/qunit-fixture.js"></script>
31 // QUnit.config is populated from QUnit.urlParams but only at the beginning
32 // of the test run. We need to read both.
33 var esmodules
= QUnit
.config
.esmodules
|| QUnit
.urlParams
.esmodules
;
35 // Workaround: Remove call to `window.__karma__.loaded()`
36 // in favor of calling `window.__karma__.start()` from `loadTests()`
37 // because tests such as unit/ready.js should run after document ready.