From 60bedb5599b286bffccfc54c4861a269d9b8df73 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Mon, 7 Jun 2021 10:49:19 -0400 Subject: [PATCH] fix(vue): prevent error from being thrown when testing on certain jest runners (#23421) resolves #23397 --- core/src/utils/config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/utils/config.ts b/core/src/utils/config.ts index bd2a78e5eb..7932fde423 100644 --- a/core/src/utils/config.ts +++ b/core/src/utils/config.ts @@ -201,7 +201,6 @@ export const setupConfig = (config: IonicConfig) => { const win = window as any; const Ionic = win.Ionic; if (Ionic && Ionic.config && Ionic.config.constructor.name !== 'Object') { - console.error('ionic config was already initialized'); return; } win.Ionic = win.Ionic || {};