Skip to content

Commit 7aa5759

Browse files
committed
Disable flaky test
1 parent 5cd490d commit 7aa5759

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

test/development/app-dir/owner-stack/owner-stack.test.ts

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ describe('app-dir - owner-stack', () => {
130130
at renderRootSync
131131
at performWorkOnRoot
132132
at performWorkOnRootViaSchedulerTask
133-
at MessagePort.performWorkUntilDeadline The above error occurred in the <Page> component. It was handled by the <DevOverlayErrorBoundary> error boundary."
133+
at MessagePort.performWorkUntilDeadline The above error occurred in the <Page> component. It was handled by the <ReactDevOverlay> error boundary."
134134
`)
135135
} else {
136136
expect(normalizeStackTrace(errorLog)).toMatchInlineSnapshot(`
@@ -149,7 +149,7 @@ describe('app-dir - owner-stack', () => {
149149
at renderRootSync
150150
at performWorkOnRoot
151151
at performWorkOnRootViaSchedulerTask
152-
at MessagePort.performWorkUntilDeadline The above error occurred in the <Page> component. It was handled by the <DevOverlayErrorBoundary> error boundary."
152+
at MessagePort.performWorkUntilDeadline The above error occurred in the <Page> component. It was handled by the <ReactDevOverlay> error boundary."
153153
`)
154154
}
155155
}
@@ -172,17 +172,13 @@ describe('app-dir - owner-stack', () => {
172172
expect(stackFramesContent).toMatchInlineSnapshot(`
173173
"at useThrowError (app/browser/caught/page.js (34:11))
174174
at useErrorHook (app/browser/caught/page.js (39:3))
175-
at Thrower (app/browser/caught/page.js (29:3))
176-
at Inner (app/browser/caught/page.js (23:7))
177-
at Page (app/browser/caught/page.js (43:10))"
175+
at Thrower (app/browser/caught/page.js (29:3))"
178176
`)
179177
} else {
180178
expect(stackFramesContent).toMatchInlineSnapshot(`
181179
"at useThrowError (app/browser/caught/page.js (34:11))
182180
at useErrorHook (app/browser/caught/page.js (39:3))
183-
at Thrower (app/browser/caught/page.js (29:3))
184-
at Inner (app/browser/caught/page.js (23:8))
185-
at Page (app/browser/caught/page.js (43:11))"
181+
at Thrower (app/browser/caught/page.js (29:3))"
186182
`)
187183
}
188184

@@ -259,7 +255,7 @@ describe('app-dir - owner-stack', () => {
259255
at renderRootSync
260256
at performWorkOnRoot
261257
at performWorkOnRootViaSchedulerTask
262-
at MessagePort.performWorkUntilDeadline The above error occurred in the <Page> component. It was handled by the <DevOverlayErrorBoundary> error boundary."
258+
at MessagePort.performWorkUntilDeadline The above error occurred in the <Page> component. It was handled by the <ReactDevOverlay> error boundary."
263259
`)
264260
}
265261
})

test/e2e/app-dir/next-after-app/index.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import * as Log from './utils/log'
77

88
const runtimes = ['nodejs', 'edge']
99

10-
const isReactExperimental = process.env.__NEXT_EXPERIMENTAL_PPR === 'true'
11-
1210
describe.each(runtimes)('after() in %s runtime', (runtimeValue) => {
1311
const { next, isNextDeploy, skipped, isTurbopack } = nextTestSetup({
1412
files: __dirname,
@@ -99,10 +97,10 @@ describe.each(runtimes)('after() in %s runtime', (runtimeValue) => {
9997
})
10098

10199
describe('interrupted RSC renders', () => {
102-
// This is currently broken with experimental React & Turbopack
100+
// This is currently broken with Turbopack.
103101
// https://github.com/vercel/next.js/pull/75989
104102

105-
;(isTurbopack && isReactExperimental ? it.skip : it)(
103+
;(isTurbopack ? it.skip : it)(
106104
'runs callbacks if redirect() was called',
107105
async () => {
108106
await next.browser(pathPrefix + '/interrupted/calls-redirect')

0 commit comments

Comments
 (0)