Unverified Commit 77e1565f authored by stefanprobst's avatar stefanprobst Committed by GitHub

remove Object.fromEntries polyfill for node 10 in test utils (#30657)

Co-authored-by: 's avatarkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
parent 48874f1a
...@@ -20,12 +20,6 @@ import treeKill from 'tree-kill' ...@@ -20,12 +20,6 @@ import treeKill from 'tree-kill'
export const nextServer = server export const nextServer = server
export const pkg = _pkg export const pkg = _pkg
// polyfill Object.fromEntries for the test/integration/relay-analytics tests
// on node 10, this can be removed after we no longer support node 10
if (!Object.fromEntries) {
Object.fromEntries = require('core-js/features/object/from-entries')
}
export function initNextServerScript( export function initNextServerScript(
scriptPath, scriptPath,
successRegexp, successRegexp,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment