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
f57b8d2a
Unverified
Commit
f57b8d2a
authored
Sep 29, 2021
by
Tobias Koppers
Committed by
GitHub
Sep 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix test/integration/app-document-remove-hmr flake (#29486)
parent
88e15a5b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.test.js
test/integration/app-document-remove-hmr/test/index.test.js
+2
-2
No files found.
test/integration/app-document-remove-hmr/test/index.test.js
View file @
f57b8d2a
...
@@ -48,7 +48,7 @@ describe('_app removal HMR', () => {
...
@@ -48,7 +48,7 @@ describe('_app removal HMR', () => {
await
check
(
async
()
=>
{
await
check
(
async
()
=>
{
const
html
=
await
browser
.
eval
(
'document.documentElement.innerHTML'
)
const
html
=
await
browser
.
eval
(
'document.documentElement.innerHTML'
)
return
html
.
in
dexOf
(
'index page updated'
)
&&
return
html
.
in
cludes
(
'index page updated'
)
&&
!
html
.
includes
(
'custom _app'
)
!
html
.
includes
(
'custom _app'
)
?
'success'
?
'success'
:
html
:
html
...
@@ -100,7 +100,7 @@ describe('_app removal HMR', () => {
...
@@ -100,7 +100,7 @@ describe('_app removal HMR', () => {
await
check
(
async
()
=>
{
await
check
(
async
()
=>
{
const
html
=
await
browser
.
eval
(
'document.documentElement.innerHTML'
)
const
html
=
await
browser
.
eval
(
'document.documentElement.innerHTML'
)
return
html
.
in
dexOf
(
'index page updated'
)
&&
return
html
.
in
cludes
(
'index page updated'
)
&&
!
html
.
includes
(
'custom _document'
)
!
html
.
includes
(
'custom _document'
)
?
'success'
?
'success'
:
html
:
html
...
...
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