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
64f27024
Unverified
Commit
64f27024
authored
Nov 28, 2024
by
Jiachi Liu
Committed by
GitHub
Nov 28, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: fix canary test with 18.3.1 (#73327)
parent
406878fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
error-ignored-frames.test.ts
...overlay/error-ignored-frames/error-ignored-frames.test.ts
+7
-3
No files found.
test/development/app-dir/error-overlay/error-ignored-frames/error-ignored-frames.test.ts
View file @
64f27024
...
@@ -10,10 +10,14 @@ describe('error-ignored-frames', () => {
...
@@ -10,10 +10,14 @@ describe('error-ignored-frames', () => {
files
:
__dirname
,
files
:
__dirname
,
})
})
// TODO: remove this when reactOwnerStack is enabled by default
if
(
if
(
process
.
env
.
__NEXT_EXPERIMENTAL_PPR
===
'true'
)
{
// TODO: remove this when reactOwnerStack is enabled by default
// Since PPR mode is just going to add owner stack, skip this test for now
// Since PPR mode is just going to add owner stack, skip this test for now
it
(
'skip ppr test'
,
()
=>
{})
process
.
env
.
__NEXT_EXPERIMENTAL_PPR
===
'true'
||
// Skip react 18 test as the call stacks are different
process
.
env
.
NEXT_TEST_REACT_VERSION
===
'18.3.1'
)
{
it
(
'skip test'
,
()
=>
{})
return
return
}
}
...
...
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