diff --git a/js/tests/unit/util.js b/js/tests/unit/util.js index abe153a223..61727304d4 100644 --- a/js/tests/unit/util.js +++ b/js/tests/unit/util.js @@ -78,10 +78,10 @@ $(function () { QUnit.test('Util.getTransitionDurationFromElement should return the addition of transition-delay and transition-duration', function (assert) { assert.expect(2) var $fixture = $('#qunit-fixture') - var $div = $('
').appendTo($fixture) + var $div = $('').appendTo($fixture) var $div2 = $('').appendTo($fixture) - assert.strictEqual(Util.getTransitionDurationFromElement($div[0]), 2) + assert.strictEqual(Util.getTransitionDurationFromElement($div[0]), 150) assert.strictEqual(Util.getTransitionDurationFromElement($div2[0]), 280) })