Skip to content

Commit

Permalink
Update modal.spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed May 2, 2020
1 parent c37ecc7 commit 23b149b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/tests/unit/modal.spec.js
Expand Up @@ -625,7 +625,7 @@ describe('Modal', () => {
})

it('should not overflow when clicking outside of modal-content if backdrop = static', done => {
fixtureEl.innerHTML = '<div class="modal" data-backdrop="static"><div class="modal-dialog" style="transition-duration: 20ms;" /></div>'
fixtureEl.innerHTML = '<div class="modal" data-backdrop="static"><div class="modal-dialog" style="transition-duration: 20ms;"></div></div>'

const modalEl = fixtureEl.querySelector('.modal')
const modal = new Modal(modalEl, {
Expand Down

0 comments on commit 23b149b

Please sign in to comment.