aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/menu/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/menu/common.js')
-rw-r--r--tests/unit/menu/common.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/unit/menu/common.js b/tests/unit/menu/common.js
new file mode 100644
index 000000000..0f0a04de8
--- /dev/null
+++ b/tests/unit/menu/common.js
@@ -0,0 +1,29 @@
+define( [
+ "lib/common",
+ "ui/menu"
+], function( common ) {
+
+common.testWidget( "menu", {
+ defaults: {
+ classes: {},
+ disabled: false,
+ icons: {
+ submenu: "ui-icon-caret-1-e"
+ },
+ items: "> *",
+ menus: "ul",
+ position: {
+ my: "left top",
+ at: "right top"
+ },
+ role: "menu",
+
+ // callbacks
+ blur: null,
+ create: null,
+ focus: null,
+ select: null
+ }
+});
+
+} );