Skip to content

Commit 7be4148

Browse files
authored
Update tests/unit/datepicker/methods.js
1 parent ae27ec2 commit 7be4148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/datepicker/methods.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ QUnit.test( "destroy", function( assert ) {
2323
assert.ok( $.datepicker._curInst == null, "Datepicker - destroyed and cleared reference" );
2424
assert.equal( dp.css( "display" ), "none", "Datepicker - absent" );
2525

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

0 commit comments

Comments
 (0)