aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/progressbar/progressbar_events.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/progressbar/progressbar_events.js')
-rw-r--r--tests/unit/progressbar/progressbar_events.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/unit/progressbar/progressbar_events.js b/tests/unit/progressbar/progressbar_events.js
index ed3da169a..a40b2c432 100644
--- a/tests/unit/progressbar/progressbar_events.js
+++ b/tests/unit/progressbar/progressbar_events.js
@@ -1,4 +1,7 @@
-(function( $ ) {
+define( [
+ "jquery",
+ "ui/progressbar"
+], function( $ ) {
module( "progressbar: events" );
@@ -52,4 +55,4 @@ test( "complete", function() {
element.progressbar( "value", value );
});
-}( jQuery ) );
+} );