Skip to content

Commit fe957a6

Browse files
committed
Disable flaky Turbopack tests
1 parent 5dc0967 commit fe957a6

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

Diff for: test/development/acceptance-app/ReactRefreshLogBox.test.ts

+3-19
Original file line numberDiff line numberDiff line change
@@ -1465,25 +1465,9 @@ describe('ReactRefreshLogBox app', () => {
14651465
await next.patchFile('index.js', "throw new Error('module error')")
14661466

14671467
if (isTurbopack) {
1468-
await expect(browser).toDisplayRedbox(`
1469-
{
1470-
"count": 1,
1471-
"description": "Error: module error",
1472-
"environmentLabel": null,
1473-
"label": "Runtime Error",
1474-
"source": "index.js (1:7) @ [project]/index.js [app-rsc] (ecmascript)
1475-
> 1 | throw new Error('module error')
1476-
| ^",
1477-
"stack": [
1478-
"[project]/index.js [app-rsc] (ecmascript) index.js (1:7)",
1479-
"[project]/app/server/page.js [app-rsc] (ecmascript) app/server/page.js (1:1)",
1480-
"<FIXME-file-protocol>",
1481-
"<FIXME-file-protocol>",
1482-
"<FIXME-file-protocol>",
1483-
"<FIXME-file-protocol>",
1484-
],
1485-
}
1486-
`)
1468+
// TODO(veil): Turbopack is flaky. Possibly related to https://linear.app/vercel/issue/NDX-920/turbopack-errors-after-hmr-have-no-stacktraces-in-affected-chunks
1469+
// Should use `await expect(browser).toDisplayRedbox()`
1470+
await session.assertHasRedbox()
14871471
} else {
14881472
await expect({ browser, next }).toDisplayRedbox(`
14891473
{

0 commit comments

Comments
 (0)