aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/menu/menu_events.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2015-04-06 13:04:04 -0400
committerScott González <scott.gonzalez@gmail.com>2015-04-09 09:26:26 -0400
commitf2ca8f92f0d9ab9c7bf2e202e7ff7778daeef85c (patch)
tree790023b094bbf4890f4d552b3a75ccc1177fda5b /tests/unit/menu/menu_events.js
parenta0e3da0459e4fbbde99dfa5f41929fdc82dfde1e (diff)
downloadjquery-ui-f2ca8f92f0d9ab9c7bf2e202e7ff7778daeef85c.tar.gz
jquery-ui-f2ca8f92f0d9ab9c7bf2e202e7ff7778daeef85c.zip
Menu: Convert tests to new infrastructure
Ref #10119 Ref gh-1528
Diffstat (limited to 'tests/unit/menu/menu_events.js')
-rw-r--r--tests/unit/menu/menu_events.js16
1 files changed, 10 insertions, 6 deletions
diff --git a/tests/unit/menu/menu_events.js b/tests/unit/menu/menu_events.js
index bda2d6050..9aed1839c 100644
--- a/tests/unit/menu/menu_events.js
+++ b/tests/unit/menu/menu_events.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: events", {
setup: function() {
- TestHelpers.menu.clearLog();
+ menuTestHelpers.clearLog();
}
});
@@ -730,4 +734,4 @@ asyncTest( "#10571: When typing in a menu, only menu-items should be focused", f
});
});
-})( jQuery );
+} );