Skip to content

Commit

Permalink
Update tests/unit/datepicker/methods.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mgol authored Aug 1, 2024
1 parent ae27ec2 commit 7be4148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/datepicker/methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ QUnit.test( "destroy", function( assert ) {
assert.ok( $.datepicker._curInst == null, "Datepicker - destroyed and cleared reference" );
assert.equal( dp.css( "display" ), "none", "Datepicker - absent" );

// Destroy Without Hiding
// Destroy without manual hiding (ensure datepicker is hidden after calling destroy)
inp = testHelper.init( "#inp" );
inp.datepicker( "show" );
assert.equal( dp.css( "display" ), "block", "Datepicker - visible" );
Expand Down

0 comments on commit 7be4148

Please sign in to comment.