From 666fe596bf4629777f995dd79046b1db632ffdfb Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 30 Jul 2021 09:28:51 +0300 Subject: Enable `unicorn/no-array-for-each` rule --- js/tests/unit/tooltip.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/tests/unit/tooltip.spec.js') 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', () => { -- cgit v1.2.3