aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/menu/common.js2
-rw-r--r--tests/unit/menu/events.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/menu/common.js b/tests/unit/menu/common.js
index 81674be35..adb74cf0a 100644
--- a/tests/unit/menu/common.js
+++ b/tests/unit/menu/common.js
@@ -18,7 +18,7 @@ common.testWidget( "menu", {
},
role: "menu",
- // callbacks
+ // Callbacks
blur: null,
create: null,
focus: null,
diff --git a/tests/unit/menu/events.js b/tests/unit/menu/events.js
index 8a4b92fff..790e5912c 100644
--- a/tests/unit/menu/events.js
+++ b/tests/unit/menu/events.js
@@ -333,7 +333,7 @@ asyncTest( "handle keyboard navigation on menu without scroll and with submenus"
element.simulate( "keydown", { keyCode: $.ui.keyCode.LEFT } );
equal( logOutput(), "keydown,4", "Keydown LEFT (close submenu)" );
- // re-open submenu
+ // Re-open submenu
element.simulate( "keydown", { keyCode: $.ui.keyCode.RIGHT } );
setTimeout( menukeyboard3 );
}
@@ -525,7 +525,7 @@ asyncTest( "handle keyboard navigation on menu with scroll and with submenus", f
element.simulate( "keydown", { keyCode: $.ui.keyCode.LEFT } );
equal( logOutput(), "keydown,1", "Keydown LEFT (close submenu)" );
- // re-open submenu
+ // Re-open submenu
element.simulate( "keydown", { keyCode: $.ui.keyCode.RIGHT } );
setTimeout( menukeyboard3, 50 );
}