Skip to content

Commit

Permalink
test(e2e-cypress): fix all failing tests for this script
Browse files Browse the repository at this point in the history
Problem was with an obsolete and no longer supported
Perf tool for React. Reference to it have been removed.

Refs #7341
  • Loading branch information
char0n committed Jun 11, 2021
1 parent 3ed335e commit ebcd552
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ebcd552

Please sign in to comment.