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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user