mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
Enable unicorn/no-array-for-each rule
This commit is contained in:
@@ -17,10 +17,9 @@ describe('Modal', () => {
|
||||
clearBodyAndDocument()
|
||||
document.body.classList.remove('modal-open')
|
||||
|
||||
document.querySelectorAll('.modal-backdrop')
|
||||
.forEach(backdrop => {
|
||||
backdrop.remove()
|
||||
})
|
||||
for (const backdrop of document.querySelectorAll('.modal-backdrop')) {
|
||||
backdrop.remove()
|
||||
}
|
||||
})
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user