aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/tooltip.spec.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-07-30 09:28:51 +0300
committerXhmikosR <[email protected]>2021-10-05 19:52:11 +0300
commit666fe596bf4629777f995dd79046b1db632ffdfb (patch)
tree9e14fcf9c5d325e668d75d2b313242e16e7fbec3 /js/tests/unit/tooltip.spec.js
parent2b4d0d166b58cabfb0384a2081d84e51df84e37f (diff)
downloadbootstrap-666fe596bf4629777f995dd79046b1db632ffdfb.tar.xz
bootstrap-666fe596bf4629777f995dd79046b1db632ffdfb.zip
Enable `unicorn/no-array-for-each` rule
Diffstat (limited to 'js/tests/unit/tooltip.spec.js')
-rw-r--r--js/tests/unit/tooltip.spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/tooltip.spec.js b/js/tests/unit/tooltip.spec.js
index 22a7edd01..01ab1b149 100644
--- a/js/tests/unit/tooltip.spec.js
+++ b/js/tests/unit/tooltip.spec.js
@@ -15,9 +15,9 @@ describe('Tooltip', () => {
afterEach(() => {
clearFixture()
- document.querySelectorAll('.tooltip').forEach(tooltipEl => {
+ for (const tooltipEl of document.querySelectorAll('.tooltip')) {
tooltipEl.remove()
- })
+ }
})
describe('VERSION', () => {