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
This commit is contained in:
Vladimir Gorej
2021-06-11 11:37:07 +02:00
parent 14f9b40ef2
commit 5bfd2d8df1

View File

@@ -6,10 +6,6 @@ import AllPlugins from "./plugins/all"
import { parseSearch } from "./utils" import { parseSearch } from "./utils"
import win from "./window" 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 // eslint-disable-next-line no-undef
const { GIT_DIRTY, GIT_COMMIT, PACKAGE_VERSION, BUILD_TIME } = buildInfo const { GIT_DIRTY, GIT_COMMIT, PACKAGE_VERSION, BUILD_TIME } = buildInfo