Skip to content

Commit ebcd552

Browse files
committed
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
1 parent 3ed335e commit ebcd552

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/core/index.js

-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ import AllPlugins from "./plugins/all"
66
import { parseSearch } from "./utils"
77
import win from "./window"
88

9-
if (process.env.NODE_ENV !== "production" && typeof window !== "undefined") {
10-
win.Perf = require("react-dom/lib/ReactPerf")
11-
}
12-
139
// eslint-disable-next-line no-undef
1410
const { GIT_DIRTY, GIT_COMMIT, PACKAGE_VERSION, HOSTNAME, BUILD_TIME } = buildInfo
1511

0 commit comments

Comments
 (0)