aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/datepicker
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/datepicker')
-rw-r--r--tests/unit/datepicker/datepicker_core.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/unit/datepicker/datepicker_core.js b/tests/unit/datepicker/datepicker_core.js
index 0bc5723ec..65b07e2f6 100644
--- a/tests/unit/datepicker/datepicker_core.js
+++ b/tests/unit/datepicker/datepicker_core.js
@@ -4,7 +4,11 @@
(function($) {
-module("datepicker: core");
+module( "datepicker: core", {
+ setup: function() {
+ $( "body" ).focus();
+ }
+});
TestHelpers.testJshint( "datepicker" );