diff options
Diffstat (limited to 'tests/unit/effects')
-rw-r--r-- | tests/unit/effects/all.html | 4 | ||||
-rw-r--r-- | tests/unit/effects/core.js | 14 |
2 files changed, 14 insertions, 4 deletions
diff --git a/tests/unit/effects/all.html b/tests/unit/effects/all.html index b043b6223..0de2b3798 100644 --- a/tests/unit/effects/all.html +++ b/tests/unit/effects/all.html @@ -7,9 +7,9 @@ <script src="../../../external/jquery/jquery.js"></script> <link rel="stylesheet" href="../../../external/qunit/qunit.css"> - <link rel="stylesheet" href="../../../external/qunit-composite/qunit-composite.css"> + <link rel="stylesheet" href="../../lib/vendor/qunit-composite/qunit-composite.css"> <script src="../../../external/qunit/qunit.js"></script> - <script src="../../../external/qunit-composite/qunit-composite.js"></script> + <script src="../../lib/vendor/qunit-composite/qunit-composite.js"></script> <script src="../subsuite.js"></script> <script> diff --git a/tests/unit/effects/core.js b/tests/unit/effects/core.js index 187f5355a..94321e636 100644 --- a/tests/unit/effects/core.js +++ b/tests/unit/effects/core.js @@ -23,11 +23,21 @@ define( [ "use strict"; QUnit.assert.present = function( value, array, message ) { - this.push( jQuery.inArray( value, array ) !== -1, value, array, message ); + this.pushResult( { + result: jQuery.inArray( value, array ) !== -1, + actual: value, + expected: array, + message: message + } ); }; QUnit.assert.notPresent = function( value, array, message ) { - this.push( jQuery.inArray( value, array ) === -1, value, array, message ); + this.pushResult( { + result: jQuery.inArray( value, array ) === -1, + actual: value, + expected: array, + message: message + } ); }; // MinDuration is used for "short" animate tests where we are only concerned about the final |