Fix syntax error in `toggle between modals` test

This commit is contained in:
Son Tung Ngo 2022-10-04 21:29:20 +02:00 committed by GitHub
parent a67e31d8ef
commit 0546612a5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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', () => {