2 <html lang=
"en" id=
"html">
5 <title>jQuery Test Suite
</title>
6 <link rel=
"stylesheet" href=
"../external/qunit/qunit.css" />
7 <link rel=
"stylesheet" href=
"data/testsuite.css" />
10 We have to use previous jQuery as helper to ensure testability with
11 ajax-free builds (and non-interference when changing ajax internals)
13 <script src=
"data/jquery-3.7.1.js"></script>
15 <script src=
"../external/qunit/qunit.js"></script>
16 <script src=
"../external/sinon/sinon.js"></script>
17 <script src=
"../external/npo/npo.js"></script>
18 <script src=
"../external/requirejs/require.js"></script>
19 <!-- See testinit for the list of tests -->
20 <script src=
"data/testinit.js"></script>
22 <!-- A script that includes jQuery min, dev or ES modules -->
23 <!-- Adds "basic" URL option, even to iframes -->
24 <!-- iframes will not load ESM as loading needs to be synchronous for some tests -->
25 <!-- Also executes the function above to load tests -->
26 <script src=
"jquery.js"></script>
30 // Load tests if they have not been loaded
31 // This is in a different script tag to ensure that
32 // jQuery is on the page when the testrunner executes
33 // QUnit.config is populated from QUnit.urlParams,
34 // but only at the beginning of the test run.
35 // We need to read both.
36 var esmodules
= QUnit
.config
.esmodules
|| QUnit
.urlParams
.esmodules
;
38 // `loadTests()` will call `QUnit.start()` because tests
39 // such as unit/ready.js should run after document ready.
48 <div id=
"qunit"></div>
51 <!-- 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 -->
52 <iframe id=
"loadediframe" name=
"loadediframe" style=
"display:none;" src=
"data/iframe.html"></iframe>
53 <div id=
"qunit-fixture"></div>
54 <script src=
"data/qunit-fixture.js"></script>