aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/effects/effects_core.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2015-04-06 12:56:07 -0400
committerScott González <scott.gonzalez@gmail.com>2015-04-09 09:26:26 -0400
commita0e3da0459e4fbbde99dfa5f41929fdc82dfde1e (patch)
tree280f92d8b32b235debea7b3dba241237441d56e6 /tests/unit/effects/effects_core.js
parentfbc55446fbc397f7f176fd907fd5da5ff3d3abad (diff)
downloadjquery-ui-a0e3da0459e4fbbde99dfa5f41929fdc82dfde1e.tar.gz
jquery-ui-a0e3da0459e4fbbde99dfa5f41929fdc82dfde1e.zip
Effects: Convert tests to new infrastructure
Ref #10119 Ref gh-1528
Diffstat (limited to 'tests/unit/effects/effects_core.js')
-rw-r--r--tests/unit/effects/effects_core.js25
1 files changed, 22 insertions, 3 deletions
diff --git a/tests/unit/effects/effects_core.js b/tests/unit/effects/effects_core.js
index 346e404c2..76fcaa062 100644
--- a/tests/unit/effects/effects_core.js
+++ b/tests/unit/effects/effects_core.js
@@ -1,4 +1,23 @@
-(function($) {
+define( [
+ "jquery",
+ "lib/common",
+ "ui/effect",
+ "ui/effect-blind",
+ "ui/effect-bounce",
+ "ui/effect-clip",
+ "ui/effect-drop",
+ "ui/effect-explode",
+ "ui/effect-fade",
+ "ui/effect-fold",
+ "ui/effect-highlight",
+ "ui/effect-puff",
+ "ui/effect-pulsate",
+ "ui/effect-scale",
+ "ui/effect-shake",
+ "ui/effect-size",
+ "ui/effect-slide",
+ "ui/effect-transfer"
+], function( $, common ) {
function present( value, array, message ) {
QUnit.push( jQuery.inArray( value, array ) !== -1, value, array, message );
@@ -242,7 +261,7 @@ test( "createPlaceholder: preserves layout affecting properties", function() {
$.each( $.effects.effect, function( effect ) {
module( "effects." + effect );
- TestHelpers.testJshint( "effect-" + effect );
+ common.testJshint( "effect-" + effect );
if ( effect === "transfer" ) {
return;
@@ -319,4 +338,4 @@ $.each( $.effects.effect, function( effect ) {
});
});
-})(jQuery);
+} );