Skip to content

Commit 2ea7876

Browse files
committed
Fix #13064: better test fixture cleanup. Close jquerygh-1075.
1 parent 06f46da commit 2ea7876

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/data/testrunner.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ var Globals = (function() {
317317
};
318318

319319
QUnit.done(function() {
320-
// Remove out own fixtures outside #qunit-fixture
321-
jQuery( "#nothiddendiv, #loadediframe, #dl" ).remove();
320+
// Remove our own fixtures outside #qunit-fixture
321+
jQuery("#qunit ~ *").remove();
322322
});
323323

324324
// jQuery-specific QUnit.reset

0 commit comments

Comments
 (0)