fix
This commit is contained in:
parent
c3b01ef0aa
commit
2a2e068329
@ -17,15 +17,15 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="mocha"></div>
|
<div id="mocha"></div>
|
||||||
|
|
||||||
<script src="/test-utils/chai2.js"></script>
|
<script src="/test-utils/chai.js"></script>
|
||||||
<script src="/test-utils/mocha2.js"></script>
|
<script src="/test-utils/mocha.js"></script>
|
||||||
|
|
||||||
<script class="mocha-init" type="module">
|
<script class="mocha-init" type="module">
|
||||||
mocha.setup({ ui: "tdd", timeout: "2000"});
|
mocha.setup({ ui: "tdd", timeout: "2000"})
|
||||||
mocha.checkLeaks();
|
mocha.checkLeaks()
|
||||||
window.addEventListener("load", function () {
|
window.addEventListener("load", function loaded () {
|
||||||
// Callback so that the test results get reported to CI
|
// Callback so that the test results get reported to CI
|
||||||
mocha.run(function (failures) {
|
mocha.run(function mochaRan (failures) {
|
||||||
window._testResults = {
|
window._testResults = {
|
||||||
done: true,
|
done: true,
|
||||||
failures,
|
failures,
|
||||||
|
11524
test-utils/chai.js
11524
test-utils/chai.js
File diff suppressed because one or more lines are too long
@ -20632,4 +20632,4 @@
|
|||||||
return browserEntry;
|
return browserEntry;
|
||||||
|
|
||||||
}));
|
}));
|
||||||
|
//# sourceMappingURL=mocha.js.map
|
Loading…
Reference in New Issue
Block a user