Skip to content

Commit

Permalink
remove unnecessary checks for test
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoSot committed Dec 22, 2021
1 parent 6a07ca0 commit 0e4bb1b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions js/tests/unit/modal.spec.js
Expand Up @@ -672,10 +672,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()
done()
})
Expand Down

0 comments on commit 0e4bb1b

Please sign in to comment.