Commit 4950fe6f authored by Heinrich Fenkart's avatar Heinrich Fenkart
Browse files

Perform a cleanup after each test

parent 1e64c4c0
Showing with 7 additions and 1 deletion
+7 -1
...@@ -38,6 +38,12 @@ ...@@ -38,6 +38,12 @@
} }
} }
}) })
// Cleanup
QUnit.testDone(function () {
$('#qunit-fixture').empty()
$('#modal-test, .modal-backdrop').remove()
})
</script> </script>
<!-- Plugin sources --> <!-- Plugin sources -->
...@@ -69,7 +75,7 @@ ...@@ -69,7 +75,7 @@
</head> </head>
<body> <body>
<div> <div id="qunit-container">
<div id="qunit"></div> <div id="qunit"></div>
<div id="qunit-fixture"></div> <div id="qunit-fixture"></div>
</div> </div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment