aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/datepicker/events.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-06-07 00:58:12 +0200
committerGitHub <noreply@github.com>2021-06-07 00:58:12 +0200
commit70dae67b73dfea9126f126f516fe8286f1e73417 (patch)
treee61eafab41ee74330fecf1da2ce125050cfac49b /tests/unit/datepicker/events.js
parenta12c98574d07f002fd59d166f9fc1fd391581b91 (diff)
downloadjquery-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.js9
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