@@ -142,10 +142,10 @@ describe('Error recovery app', () => {
142142 "description": "Parsing ecmascript source code failed",
143143 "environmentLabel": null,
144144 "label": "Build Error",
145- "source": "./app/server/page.js (2:26 )
145+ "source": "./app/server/page.js (2:28 )
146146 Parsing ecmascript source code failed
147147 > 2 | return <p>Hello world</p>
148- | ^",
148+ | ^",
149149 "stack": [],
150150 }
151151 ` )
@@ -160,7 +160,6 @@ describe('Error recovery app', () => {
160160 ,-[2:1]
161161 1 | export default function Page() {
162162 2 | return <p>Hello world</p>
163- : ^
164163 \`----
165164 Caused by:
166165 Syntax Error
@@ -206,10 +205,10 @@ describe('Error recovery app', () => {
206205 "description": "Parsing ecmascript source code failed",
207206 "environmentLabel": null,
208207 "label": "Build Error",
209- "source": "./app/client/page.js (2:26 )
208+ "source": "./app/client/page.js (2:28 )
210209 Parsing ecmascript source code failed
211210 > 2 | return <p>Hello world</p>
212- | ^",
211+ | ^",
213212 "stack": [],
214213 }
215214 ` )
@@ -224,7 +223,6 @@ describe('Error recovery app', () => {
224223 ,-[2:1]
225224 1 | export default function Page() {
226225 2 | return <p>Hello world</p>
227- : ^
228226 \`----
229227 Caused by:
230228 Syntax Error
@@ -623,10 +621,10 @@ describe('Error recovery app', () => {
623621 "description": "Parsing ecmascript source code failed",
624622 "environmentLabel": null,
625623 "label": "Build Error",
626- "source": "./index.js (10:39 )
624+ "source": "./index.js (10:42 )
627625 Parsing ecmascript source code failed
628626 > 10 | export default function FunctionNamed() {
629- | ^",
627+ | ^",
630628 "stack": [],
631629 }
632630 ` )
@@ -640,7 +638,6 @@ describe('Error recovery app', () => {
640638 Error: x Expected '}', got '<eof>'
641639 ,-[10:1]
642640 10 | export default function FunctionNamed() {
643- : ^
644641 \`----
645642 Caused by:
646643 Syntax Error
@@ -660,10 +657,10 @@ describe('Error recovery app', () => {
660657 "description": "Parsing ecmascript source code failed",
661658 "environmentLabel": null,
662659 "label": "Build Error",
663- "source": "./index.js (10:39 )
660+ "source": "./index.js (10:42 )
664661 Parsing ecmascript source code failed
665662 > 10 | export default function FunctionNamed() {
666- | ^",
663+ | ^",
667664 "stack": [],
668665 }
669666 ` )
@@ -677,7 +674,6 @@ describe('Error recovery app', () => {
677674 Error: x Expected '}', got '<eof>'
678675 ,-[10:1]
679676 10 | export default function FunctionNamed() {
680- : ^
681677 \`----
682678 Caused by:
683679 Syntax Error
@@ -1016,10 +1012,10 @@ describe('Error recovery app', () => {
10161012 "description": "Parsing ecmascript source code failed",
10171013 "environmentLabel": null,
10181014 "label": "Build Error",
1019- "source": "./app/page.js (1:2 )
1015+ "source": "./app/page.js (1:4 )
10201016 Parsing ecmascript source code failed
10211017 > 1 | {{{
1022- | ^",
1018+ | ^",
10231019 "stack": [],
10241020 }
10251021 ` )
@@ -1033,7 +1029,6 @@ describe('Error recovery app', () => {
10331029 Error: x Expected '}', got '<eof>'
10341030 ,----
10351031 1 | {{{
1036- : ^
10371032 \`----
10381033 Caused by:
10391034 Syntax Error",
0 commit comments