mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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.
This commit is contained in:
parent
3c7f2af81d
commit
cef044d82e
@ -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() {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user