mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Modal.js: remove unnecessary checks from test
This commit is contained in:
parent
28c9002573
commit
dcbe7b6f31
@ -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()
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user