Commit cef044d8 authored by Timo Tijhof's avatar Timo Tijhof Committed by Dave Methvin

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.
parent 3c7f2af8
...@@ -316,6 +316,11 @@ var Globals = (function() { ...@@ -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 // jQuery-specific QUnit.reset
QUnit.reset = function() { QUnit.reset = function() {
......
Markdown is supported
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