aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/autocomplete/autocomplete_options.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/autocomplete/autocomplete_options.js')
-rw-r--r--tests/unit/autocomplete/autocomplete_options.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/unit/autocomplete/autocomplete_options.js b/tests/unit/autocomplete/autocomplete_options.js
index af9a424e9..a07a8d636 100644
--- a/tests/unit/autocomplete/autocomplete_options.js
+++ b/tests/unit/autocomplete/autocomplete_options.js
@@ -1,4 +1,7 @@
-(function( $ ) {
+define( [
+ "jquery",
+ "ui/autocomplete"
+], function( $ ) {
module( "autocomplete: options" );
@@ -311,4 +314,4 @@ test( "source, update after init", function() {
equal( menu.find( ".ui-menu-item" ).text(), "php" );
});
-}( jQuery ) );
+} );