From: Heinrich Fenkart Date: Wed, 18 Jun 2014 19:32:18 +0000 (+0200) Subject: Perform a cleanup after each test X-Git-Tag: v3.3.0~379^2~2^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4950fe6f4e325c0101d5e42ad2f32f8e1fd13fcd;p=thirdparty%2Fbootstrap.git Perform a cleanup after each test --- diff --git a/js/tests/index.html b/js/tests/index.html index 3acd366288..1c025cf761 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() + }) @@ -69,7 +75,7 @@ -
+