Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Datepicker: Run JSHint test in unit tests.

  • Loading branch information...
commit 20a29dfd61f0f632c0d08aa0d1db3057668f3f7c 1 parent f761470
@scottgonzalez scottgonzalez authored
View
2  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");
View
3  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'),
Please sign in to comment.
Something went wrong with that request. Please try again.