aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2014-02-18 21:52:48 +0400
committerOleg Gaidarenko <markelog@gmail.com>2014-04-15 17:45:59 +0400
commit9475e31d32544c275ee79155b223322f132f3f1a (patch)
tree3b0728cfb75422be6ea483cf2ae92e683ea679f8 /test
parentcd546aba748aeac09886921ebc1a5fcaa3778bf8 (diff)
downloadjquery-9475e31d32544c275ee79155b223322f132f3f1a.tar.gz
jquery-9475e31d32544c275ee79155b223322f132f3f1a.zip
Tests: Do global clean up in teardown function
Diffstat (limited to 'test')
-rw-r--r--test/data/testrunner.js2
1 files changed, 2 insertions, 0 deletions
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;
}