mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Calendar tests: Add comment to number of month test
This commit is contained in:
parent
d650fa9a7e
commit
3e14e0fe33
@ -298,6 +298,7 @@ test( "numberOfMonths", function() {
|
||||
);
|
||||
|
||||
// Test if using cursor to go to the next / prev month advances three month
|
||||
// Focus doesn't work here so we use an additional mouse down event
|
||||
container.find( "tbody:first td[id]:first button" ).trigger( "mousedown" );
|
||||
$( document.activeElement ).simulate( "keydown", { keyCode: $.ui.keyCode.LEFT } );
|
||||
equal( container.find( ".ui-calendar-month:first" ).text(), "May",
|
||||
|
Loading…
Reference in New Issue
Block a user