Unverified Commit db0587c4 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix relay-analytics test on Azure (#18875)

parent d23d25f4
......@@ -16,6 +16,12 @@ 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,
......
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