diff options
Diffstat (limited to 'tests/unit/effects/core.js')
-rw-r--r-- | tests/unit/effects/core.js | 14 |
1 files changed, 12 insertions, 2 deletions
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 |