From: Chris Rebert Date: Wed, 21 Jan 2015 03:40:50 +0000 (-0800) Subject: update JS unit tests to future-proof QUnit 1.16.0 API X-Git-Tag: v3.3.4~173^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b56d97f21065037523ec17f45685916df8aca678;p=thirdparty%2Fbootstrap.git update JS unit tests to future-proof QUnit 1.16.0 API [skip validator] --- diff --git a/js/tests/unit/affix.js b/js/tests/unit/affix.js index 3152d8d2e4..040fe98030 100644 --- a/js/tests/unit/affix.js +++ b/js/tests/unit/affix.js @@ -35,8 +35,8 @@ $(function () { ok(!$affix.hasClass('affix'), 'affix class was not added') }) - test('should trigger affixed event after affix', function () { - stop() + test('should trigger affixed event after affix', function (assert) { + var done = assert.async() var templateHTML = '
' + '