mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-20 06:20:23 +00:00
Perform a cleanup after each test
This commit is contained in:
parent
1e64c4c0ba
commit
4950fe6f4e
1 changed files with 7 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue