Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
db0587c4
Unverified
Commit
db0587c4
authored
Nov 06, 2020
by
JJ Kasper
Committed by
GitHub
Nov 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix relay-analytics test on Azure (#18875)
parent
d23d25f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
next-test-utils.js
test/lib/next-test-utils.js
+6
-0
No files found.
test/lib/next-test-utils.js
View file @
db0587c4
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment