aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/datepicker/datepicker_methods.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/datepicker/datepicker_methods.js')
-rw-r--r--tests/unit/datepicker/datepicker_methods.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/unit/datepicker/datepicker_methods.js b/tests/unit/datepicker/datepicker_methods.js
index 8d078f099..c102f7ac3 100644
--- a/tests/unit/datepicker/datepicker_methods.js
+++ b/tests/unit/datepicker/datepicker_methods.js
@@ -3,7 +3,12 @@
*/
(function($) {
-module("datepicker: methods");
+module("datepicker: methods", {
+ teardown: function() {
+ stop();
+ setTimeout(start, 13);
+ }
+});
test('destroy', function() {
var inp = init('#inp');