diff options
author | Timo Tijhof <krinklemail@gmail.com> | 2012-12-10 22:38:50 +0100 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-12-10 20:45:20 -0500 |
commit | cef044d82ec0d338b2b69756d3ba08692fb80ae4 (patch) | |
tree | 8bedf4529ce852fbd1e6caac3b19fe57d4da1e92 | |
parent | 3c7f2af81d877b24a5e5b6488e78621fcf96b265 (diff) | |
download | jquery-cef044d82ec0d338b2b69756d3ba08692fb80ae4.tar.gz jquery-cef044d82ec0d338b2b69756d3ba08692fb80ae4.zip |
Test: Remove fixtures from QUnit.done hook. Close gh-1069.
This fixes jquery/testswarm#197. These are currently removed from
the TestSwarm injector, however this is jQuery specific, and
should be done from this end instead.
-rw-r--r-- | test/data/testrunner.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/data/testrunner.js b/test/data/testrunner.js index c9888c383..049be6657 100644 --- a/test/data/testrunner.js +++ b/test/data/testrunner.js @@ -316,6 +316,11 @@ var Globals = (function() { } }; + QUnit.done(function() { + // Remove out own fixtures outside #qunit-fixture + jQuery( "#nothiddendiv, #loadediframe, #dl" ).remove(); + }); + // jQuery-specific QUnit.reset QUnit.reset = function() { |