aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/tests/index.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/js/tests/index.html b/js/tests/index.html
index 3acd36628..1c025cf76 100644
--- a/js/tests/index.html
+++ b/js/tests/index.html
@@ -38,6 +38,12 @@
}
}
})
+
+ // Cleanup
+ QUnit.testDone(function () {
+ $('#qunit-fixture').empty()
+ $('#modal-test, .modal-backdrop').remove()
+ })
</script>
<!-- Plugin sources -->
@@ -69,7 +75,7 @@
</head>
<body>
- <div>
+ <div id="qunit-container">
<div id="qunit"></div>
<div id="qunit-fixture"></div>
</div>