From: Oleg Gaidarenko Date: Tue, 18 Feb 2014 17:52:48 +0000 (+0400) Subject: Tests: Do global clean up in teardown function X-Git-Tag: 2.1.1-rc1~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9475e31d32544c275ee79155b223322f132f3f1a;p=jquery.git Tests: Do global clean up in teardown function --- diff --git a/test/data/testrunner.js b/test/data/testrunner.js index 4b8b255ae..8ef57f777 100644 --- a/test/data/testrunner.js +++ b/test/data/testrunner.js @@ -124,6 +124,8 @@ window.moduleTeardown = function() { oldActive = jQuery.active; } + Globals.cleanup(); + for ( i in jQuery.cache ) { ++cacheLength; }