Unverified Commit 64f27024 authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

test: fix canary test with 18.3.1 (#73327)

parent 406878fb
......@@ -10,10 +10,14 @@ describe('error-ignored-frames', () => {
files: __dirname,
})
// TODO: remove this when reactOwnerStack is enabled by default
if (process.env.__NEXT_EXPERIMENTAL_PPR === 'true') {
if (
// TODO: remove this when reactOwnerStack is enabled by default
// 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
}
......
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