From a60d45bec4029b46b67df3c2a0a3a14beb261461 Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Tue, 16 Jan 2024 18:28:31 +0100 Subject: [PATCH] Remove custom Jest config hiding console warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should no longer be needed, we’re not using @vue/compat anymore. Bug: T355168 --- jest.config.js | 3 --- jest.overrides.js | 6 ------ 2 files changed, 9 deletions(-) delete mode 100644 jest.overrides.js diff --git a/jest.config.js b/jest.config.js index 86f0f3b9..1ba44460 100644 --- a/jest.config.js +++ b/jest.config.js @@ -9,9 +9,6 @@ module.exports = { '^@/(.*)$': '/src/$1', '\\.css$': '/tests/mocks/styleMock.js', }, - setupFiles: [ - './jest.overrides.js', - ], testEnvironment: 'jsdom', testEnvironmentOptions: { customExportConditions: [ 'node', 'node-addons' ], diff --git a/jest.overrides.js b/jest.overrides.js deleted file mode 100644 index 20776d2f..00000000 --- a/jest.overrides.js +++ /dev/null @@ -1,6 +0,0 @@ -( function () { - // eslint-disable-next-line no-console - console.warn = function () { - // ignore @vue/compat warnings - }; -}() );