aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/unit/datepicker/datepicker_core.js2
-rw-r--r--tests/unit/datepicker/datepicker_options.js3
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/datepicker/datepicker_core.js b/tests/unit/datepicker/datepicker_core.js
index 3c88059d1..67dd29eac 100644
--- a/tests/unit/datepicker/datepicker_core.js
+++ b/tests/unit/datepicker/datepicker_core.js
@@ -6,6 +6,8 @@
module("datepicker: core");
+TestHelpers.testJshint( "datepicker" );
+
test("initialization - Reinitialization after body had been emptied.", function() {
expect( 1 );
var bodyContent = $('body').children(), inp = $("#inp");
diff --git a/tests/unit/datepicker/datepicker_options.js b/tests/unit/datepicker/datepicker_options.js
index 4b09face5..06fde26e6 100644
--- a/tests/unit/datepicker/datepicker_options.js
+++ b/tests/unit/datepicker/datepicker_options.js
@@ -64,7 +64,8 @@ test( "disabled", function() {
inp = TestHelpers.datepicker.init('#inp', { disabled: true });
ok(inp.datepicker('isDisabled'), 'Initially marked as disabled');
ok(inp[0].disabled, 'Field initially disabled');
-})
+});
+
test('change', function() {
expect( 12 );
var inp = TestHelpers.datepicker.init('#inp'),