From: Richard Gibson Date: Sun, 16 Dec 2012 17:37:20 +0000 (-0500) Subject: Fix #13064: better test fixture cleanup. Close gh-1075. X-Git-Tag: 1.9.0b1~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2ea7876c2510a7d4a609561648c34edea0aeb8d5;p=jquery.git Fix #13064: better test fixture cleanup. Close gh-1075. --- diff --git a/test/data/testrunner.js b/test/data/testrunner.js index 3f6398404..f7aca724a 100644 --- a/test/data/testrunner.js +++ b/test/data/testrunner.js @@ -317,8 +317,8 @@ var Globals = (function() { }; QUnit.done(function() { - // Remove out own fixtures outside #qunit-fixture - jQuery( "#nothiddendiv, #loadediframe, #dl" ).remove(); + // Remove our own fixtures outside #qunit-fixture + jQuery("#qunit ~ *").remove(); }); // jQuery-specific QUnit.reset