aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog/dialog_deprecated.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/dialog/dialog_deprecated.js')
-rw-r--r--tests/unit/dialog/dialog_deprecated.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/unit/dialog/dialog_deprecated.js b/tests/unit/dialog/dialog_deprecated.js
index 55c180457..1f7087c57 100644
--- a/tests/unit/dialog/dialog_deprecated.js
+++ b/tests/unit/dialog/dialog_deprecated.js
@@ -1,4 +1,7 @@
-(function( $ ) {
+define( [
+ "jquery",
+ "ui/dialog"
+], function( $ ) {
module( "dialog (deprecated): options" );
@@ -24,4 +27,4 @@ test( "dialogClass", function( assert ) {
element.remove();
});
-})( jQuery );
+} );