Skip to content

Commit e4c1a88

Browse files
committed
fixup
1 parent 656511e commit e4c1a88

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

test/development/acceptance-app/ReactRefreshLogBox.test.ts

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -952,22 +952,23 @@ describe('ReactRefreshLogBox app', () => {
952952
if (isTurbopack) {
953953
try {
954954
await expect(browser).toDisplayRedbox(`
955-
{
956-
"description": "Error: test",
957-
"environmentLabel": null,
958-
"label": "Runtime Error",
959-
"source": "index.js (3:11) @
960-
{default export}
961-
> 3 | throw new Error('test')
962-
| ^",
963-
"stack": [
964-
"{default export} index.js (3:11)",
965-
"<FIXME-file-protocol>",
966-
"<FIXME-file-protocol>",
967-
"Page app/page.js (4:10)",
968-
],
969-
}
970-
`)
955+
{
956+
"description": "Error: test",
957+
"environmentLabel": null,
958+
"label": "Runtime Error",
959+
"source": "index.js (3:11) @
960+
{default export}
961+
> 3 | throw new Error('test')
962+
| ^",
963+
"stack": [
964+
"{default export} index.js (3:11)",
965+
"Set.forEach <anonymous> (0:0)",
966+
"<FIXME-file-protocol>",
967+
"<FIXME-file-protocol>",
968+
"Page app/page.js (2:1)",
969+
],
970+
}
971+
`)
971972
} catch {
972973
// TODO this is a bug in Turbopack. Stack trace and source map are not matching.
973974
// The stack trace references the bundle before the change to index.js,

0 commit comments

Comments
 (0)