diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2021-06-07 00:58:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-07 00:58:12 +0200 |
commit | 70dae67b73dfea9126f126f516fe8286f1e73417 (patch) | |
tree | e61eafab41ee74330fecf1da2ce125050cfac49b /tests/unit/datepicker/events.js | |
parent | a12c98574d07f002fd59d166f9fc1fd391581b91 (diff) | |
download | jquery-ui-70dae67b73dfea9126f126f516fe8286f1e73417.tar.gz jquery-ui-70dae67b73dfea9126f126f516fe8286f1e73417.zip |
Build: Migrate from JSHint & JSCS to ESLint
Fixes #15393
Closes gh-1958
Diffstat (limited to 'tests/unit/datepicker/events.js')
-rw-r--r-- | tests/unit/datepicker/events.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/unit/datepicker/events.js b/tests/unit/datepicker/events.js index 44064ee21..50ee07b86 100644 --- a/tests/unit/datepicker/events.js +++ b/tests/unit/datepicker/events.js @@ -4,6 +4,7 @@ define( [ "./helper", "ui/widgets/datepicker" ], function( QUnit, $, testHelper ) { +"use strict"; var beforeAfterEach = testHelper.beforeAfterEach; @@ -136,8 +137,12 @@ QUnit.test( "events", function( assert ) { QUnit.test( "beforeShowDay-getDate", function( assert ) { assert.expect( 3 ); - var inp = testHelper.init( "#inp", { beforeShowDay: function() { inp.datepicker( "getDate" ); return [ true, "" ]; } } ), - dp = $( "#ui-datepicker-div" ); + var inp = testHelper.init( "#inp", { + beforeShowDay: function() { + inp.datepicker( "getDate" ); return [ true, "" ]; + } + } ); + var dp = $( "#ui-datepicker-div" ); inp.val( "01/01/2010" ).datepicker( "show" ); // Contains non-breaking space |