aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/menu/menu_options.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/menu/menu_options.js')
-rw-r--r--tests/unit/menu/menu_options.js16
1 files changed, 10 insertions, 6 deletions
diff --git a/tests/unit/menu/menu_options.js b/tests/unit/menu/menu_options.js
index 3df547334..91630e14b 100644
--- a/tests/unit/menu/menu_options.js
+++ b/tests/unit/menu/menu_options.js
@@ -1,12 +1,16 @@
-(function( $ ) {
+define( [
+ "jquery",
+ "./menu_test_helpers",
+ "ui/menu"
+], function( $, menuTestHelpers ) {
-var log = TestHelpers.menu.log,
- logOutput = TestHelpers.menu.logOutput,
- click = TestHelpers.menu.click;
+var log = menuTestHelpers.log,
+ logOutput = menuTestHelpers.logOutput,
+ click = menuTestHelpers.click;
module( "menu: options", {
setup: function() {
- TestHelpers.menu.clearLog();
+ menuTestHelpers.clearLog();
}
});
@@ -118,4 +122,4 @@ test( "{ role: null }", function( assert ) {
});
});
-})( jQuery );
+} );