From 90cfbd79f7d84a0cafbc825f260f93056e179b2a Mon Sep 17 00:00:00 2001 From: Serhii Kulykov Date: Tue, 21 Jan 2025 10:40:33 +0200 Subject: [PATCH] chore: fix ESLint override glob, remove console.log from test (#8542) --- .eslintrc.json | 2 +- test/integration/notification-overlay.test.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 74bbe1286a9..56e184bf88f 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -85,7 +85,7 @@ } }, { - "files": ["scripts/**/*.js", "*.js"], + "files": ["scripts/**/*.js", "*.config.js", "wtr-utils.js"], "rules": { "@typescript-eslint/no-require-imports": "off", "no-console": "off" diff --git a/test/integration/notification-overlay.test.js b/test/integration/notification-overlay.test.js index 117ee64189a..f86b20c5b27 100644 --- a/test/integration/notification-overlay.test.js +++ b/test/integration/notification-overlay.test.js @@ -85,7 +85,6 @@ describe('notification and overlays', () => { const close = document.createElement('button'); close.textContent = 'Close and show notification'; close.addEventListener('click', () => { - console.log('close and show'); notification.opened = true; dialog2.opened = false; });