Tests: Fix the link to QUnit CSS file
[jquery.git] / test / karma.debug.html
blob8a95a3f519a6c0fa3fb222516d164f5cf442e1a5
1 <!DOCTYPE html>
2 <html lang="en" id="html">
3 <head>
4 %X_UA_COMPATIBLE%
5 <title>DEBUG</title>
6 <meta charset="utf-8">
7 <!-- Karma serves this page from /context.html. Other files are served from /base -->
8 <link rel="stylesheet" href="/base/external/qunit/qunit.css" />
9 <link rel="stylesheet" href="/base/test/data/testsuite.css" />
10 </head>
11 <body id="body">
12 <div id="qunit"></div>
14 <!-- Start: jQuery Test HTML -->
15 <!-- 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 -->
16 <iframe id="loadediframe" name="loadediframe" style="display:none;" src="/base/test/data/iframe.html"></iframe>
17 <div id="qunit-fixture"></div>
18 <!-- End: jQuery Test HTML -->
20 <!-- Start: Karma boilerplate -->
21 <script src="/context.js"></script>
22 <script src="/debug.js"></script>
23 <script>
24 %CLIENT_CONFIG%
26 %MAPPINGS%
27 </script>
28 %SCRIPTS%
29 <!-- End: Karma boilerplate -->
31 <script src="/base/test/data/qunit-fixture.js"></script>
32 <script>
33 // QUnit.config is populated from QUnit.urlParams but only at the beginning
34 // of the test run. We need to read both.
35 var esmodules = QUnit.config.esmodules || QUnit.urlParams.esmodules,
36 amd = QUnit.config.amd || QUnit.urlParams.amd;
38 // Workaround: Remove call to `window.__karma__.loaded()`
39 // in favor of calling `window.__karma__.start()` from `loadTests()`
40 // because tests such as unit/ready.js should run after document ready.
41 if ( !esmodules && !amd ) {
42 loadTests();
44 </script>
45 </body>
46 </html>