diff options
| author | Heinrich Fenkart <[email protected]> | 2014-06-18 21:32:18 +0200 |
|---|---|---|
| committer | Heinrich Fenkart <[email protected]> | 2014-07-06 09:24:22 +0200 |
| commit | 4950fe6f4e325c0101d5e42ad2f32f8e1fd13fcd (patch) | |
| tree | 8e6673ebf4bf64511385488d869a45c03fe3d221 | |
| parent | 1e64c4c0ba6167b95a7861974554204e869f3a57 (diff) | |
| download | bootstrap-4950fe6f4e325c0101d5e42ad2f32f8e1fd13fcd.tar.xz bootstrap-4950fe6f4e325c0101d5e42ad2f32f8e1fd13fcd.zip | |
Perform a cleanup after each test
| -rw-r--r-- | js/tests/index.html | 8 |
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> |
