From: Kevin Kirsche Date: Tue, 24 Feb 2015 20:28:57 +0000 (-0500) Subject: Add tests for aria-hidden of modal X-Git-Tag: v3.3.4~88^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30d8cdf6398f05a58afa303ac324201d08744b90;p=thirdparty%2Fbootstrap.git Add tests for aria-hidden of modal Add tests for `aria-hidden` of modal Use strictEqual of 1 here instead of 2 asserts --- diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js index 42f9b6f992..e52b0ab40b 100644 --- a/js/tests/unit/modal.js +++ b/js/tests/unit/modal.js @@ -44,6 +44,17 @@ $(function () { .bootstrapModal('show') }) + QUnit.test('should set aria-hidden to false when show method is called', function (assert) { + var done = assert.async() + + $('