diff options
Diffstat (limited to 'test/data/testinit.js')
-rw-r--r-- | test/data/testinit.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/data/testinit.js b/test/data/testinit.js index 85765b75c..9fc91ffb5 100644 --- a/test/data/testinit.js +++ b/test/data/testinit.js @@ -163,7 +163,7 @@ function url(value) { equal( fragmentsLength, oldFragmentsLength, "No unit tests leak memory in jQuery.fragments" ); oldFragmentsLength = fragmentsLength; } - if ( jQuery.timers.length !== oldTimersLength ) { + if ( jQuery.timers && jQuery.timers.length !== oldTimersLength ) { equal( jQuery.timers.length, oldTimersLength, "No timers are still running" ); oldTimersLength = jQuery.timers.length; } |