2017-08-01 16:52:45 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en" id="html">
|
|
|
|
<head>
|
|
|
|
%X_UA_COMPATIBLE%
|
2020-01-21 12:26:47 +00:00
|
|
|
<title>DEBUG</title>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<!-- Karma serves this page from /context.html. Other files are served from /base -->
|
|
|
|
<link rel="stylesheet" href="/base/external/qunit/qunit.css" />
|
|
|
|
<link rel="stylesheet" href="/base/test/data/testsuite.css" />
|
2017-08-01 16:52:45 +00:00
|
|
|
</head>
|
|
|
|
<body id="body">
|
2020-01-21 12:26:47 +00:00
|
|
|
<div id="qunit"></div>
|
2017-08-01 16:52:45 +00:00
|
|
|
|
2020-01-21 12:26:47 +00:00
|
|
|
<!-- Start: jQuery Test HTML -->
|
|
|
|
<!-- 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 -->
|
|
|
|
<iframe id="loadediframe" name="loadediframe" style="display:none;" src="/base/test/data/iframe.html"></iframe>
|
|
|
|
<div id="qunit-fixture"></div>
|
|
|
|
<!-- End: jQuery Test HTML -->
|
2017-08-01 16:52:45 +00:00
|
|
|
|
2020-01-21 12:26:47 +00:00
|
|
|
<!-- Start: Karma boilerplate -->
|
|
|
|
<script src="/context.js"></script>
|
|
|
|
<script src="/debug.js"></script>
|
|
|
|
<script>
|
|
|
|
%CLIENT_CONFIG%
|
2017-08-01 16:52:45 +00:00
|
|
|
|
2020-01-21 12:26:47 +00:00
|
|
|
%MAPPINGS%
|
|
|
|
</script>
|
|
|
|
%SCRIPTS%
|
|
|
|
<!-- End: Karma boilerplate -->
|
2017-08-01 16:52:45 +00:00
|
|
|
|
2020-01-21 12:26:47 +00:00
|
|
|
<script src="/base/test/data/qunit-fixture.js"></script>
|
|
|
|
<script>
|
|
|
|
// QUnit.config is populated from QUnit.urlParams but only at the beginning
|
|
|
|
// of the test run. We need to read both.
|
|
|
|
var amd = QUnit.config.amd || QUnit.urlParams.amd;
|
2017-08-01 16:52:45 +00:00
|
|
|
|
2020-01-21 12:26:47 +00:00
|
|
|
// Workaround: Remove call to `window.__karma__.loaded()`
|
|
|
|
// in favour of calling `window.__karma__.start()` from `loadTests()`
|
|
|
|
// because tests such as unit/ready.js should run after document ready.
|
|
|
|
if ( !amd ) {
|
|
|
|
loadTests();
|
|
|
|
}
|
|
|
|
</script>
|
2017-08-01 16:52:45 +00:00
|
|
|
</body>
|
|
|
|
</html>
|