From ebcd552e391acde4251db7af0cafbe6b725aeacc Mon Sep 17 00:00:00 2001 From: Vladimir Gorej Date: Fri, 11 Jun 2021 11:37:07 +0200 Subject: [PATCH] test(e2e-cypress): fix all failing tests for this script Problem was with an obsolete and no longer supported Perf tool for React. Reference to it have been removed. Refs #7341 --- src/core/index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core/index.js b/src/core/index.js index e5f68527ad4..686d6cf5967 100644 --- a/src/core/index.js +++ b/src/core/index.js @@ -6,10 +6,6 @@ import AllPlugins from "./plugins/all" import { parseSearch } from "./utils" import win from "./window" -if (process.env.NODE_ENV !== "production" && typeof window !== "undefined") { - win.Perf = require("react-dom/lib/ReactPerf") -} - // eslint-disable-next-line no-undef const { GIT_DIRTY, GIT_COMMIT, PACKAGE_VERSION, HOSTNAME, BUILD_TIME } = buildInfo