diff --git a/test/lib/next-test-utils.js b/test/lib/next-test-utils.js index bdff22d2a7..c4790c5568 100644 --- a/test/lib/next-test-utils.js +++ b/test/lib/next-test-utils.js @@ -20,12 +20,6 @@ import treeKill from 'tree-kill' export const nextServer = server 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( scriptPath, successRegexp,