diff options
| author | GeoSot <[email protected]> | 2021-12-15 19:55:05 +0200 |
|---|---|---|
| committer | GeoSot <[email protected]> | 2022-01-30 15:39:34 +0200 |
| commit | dcbe7b6f31d5383ea9e0203fd68c0a5e99fa97b7 (patch) | |
| tree | dabd47a1998d952807c5ded83ee04c9e103b8b90 /js | |
| parent | 28c9002573e6cb6982697e50e1d1ebfe2ae0fc4c (diff) | |
| download | bootstrap-dcbe7b6f31d5383ea9e0203fd68c0a5e99fa97b7.tar.xz bootstrap-dcbe7b6f31d5383ea9e0203fd68c0a5e99fa97b7.zip | |
Modal.js: remove unnecessary checks from test
Diffstat (limited to 'js')
| -rw-r--r-- | js/tests/unit/modal.spec.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/js/tests/unit/modal.spec.js b/js/tests/unit/modal.spec.js index 5d3f5cd9d..0471a1b9f 100644 --- a/js/tests/unit/modal.spec.js +++ b/js/tests/unit/modal.spec.js @@ -719,10 +719,6 @@ describe('Modal', () => { }) modalEl.addEventListener('hidden.bs.modal', () => { - expect(modalEl.getAttribute('aria-modal')).toBeNull() - expect(modalEl.getAttribute('role')).toBeNull() - expect(modalEl.getAttribute('aria-hidden')).toEqual('true') - expect(modalEl.style.display).toEqual('none') expect(document.querySelector('.modal-backdrop')).toBeNull() resolve() }) |
