diff --git a/packages/designer/tests/fixtures/window.ts b/packages/designer/tests/fixtures/window.ts index 86d1787b7..6f3e03a88 100644 --- a/packages/designer/tests/fixtures/window.ts +++ b/packages/designer/tests/fixtures/window.ts @@ -19,4 +19,10 @@ Object.defineProperty(window, 'React', { window.scrollTo = () => {}; window.console.warn = () => {}; +const originalLog = window.console.log; +window.console.log = (...args) => { + // suppress boring warnings + if (args[0].includes('@babel/plugin-proposal-private-property-in-object')) return; + originalLog.apply(window.console, args); +}; window.React = window.React || {};