@@ -952,22 +952,23 @@ describe('ReactRefreshLogBox app', () => {
952
952
if ( isTurbopack ) {
953
953
try {
954
954
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
+ ` )
971
972
} catch {
972
973
// TODO this is a bug in Turbopack. Stack trace and source map are not matching.
973
974
// The stack trace references the bundle before the change to index.js,
0 commit comments