mirror of
https://github.com/twbs/bootstrap.git
synced 2025-12-28 05:33:57 +00:00
Fix syntax error in toggle between modals test
This commit is contained in:
parent
a67e31d8ef
commit
0546612a5f
@ -1313,7 +1313,7 @@ describe('Modal', () => {
|
||||
const modal1 = new Modal(modalEl1)
|
||||
|
||||
modalEl1.addEventListener('shown.bs.modal', () => {
|
||||
expect(document.body).toHaveClass('modal-open'))
|
||||
expect(document.body).toHaveClass('modal-open')
|
||||
setTimeout(() => trigger.click(), 10)
|
||||
})
|
||||
modalEl1.addEventListener('hidden.bs.modal', () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user