Skip to content

Commit 9a2fdc5

Browse files
committed
update snapshots
1 parent 7daceab commit 9a2fdc5

File tree

10 files changed

+17
-17
lines changed

10 files changed

+17
-17
lines changed

test/development/acceptance-app/error-recovery.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ describe('Error recovery app', () => {
554554
"description": "Error: no 1",
555555
"environmentLabel": null,
556556
"label": "Unhandled Runtime Error",
557-
"source": "index.js (7:11) @ eval
557+
"source": "index.js (7:11)
558558
> 7 | throw Error('no ' + i)
559559
| ^",
560560
"stack": [

test/development/acceptance/ReactRefreshLogBox.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ describe('ReactRefreshLogBox', () => {
147147
"description": "Error: no",
148148
"environmentLabel": null,
149149
"label": "Runtime Error",
150-
"source": "index.js (3:7) @ eval
150+
"source": "index.js (3:7)
151151
> 3 | throw new Error('no')
152152
| ^",
153153
"stack": [
@@ -195,7 +195,7 @@ describe('ReactRefreshLogBox', () => {
195195
"description": "Error: no",
196196
"environmentLabel": null,
197197
"label": "Runtime Error",
198-
"source": "index.js (3:7) @ eval
198+
"source": "index.js (3:7)
199199
> 3 | throw new Error('no')
200200
| ^",
201201
"stack": [
@@ -1216,7 +1216,7 @@ describe('ReactRefreshLogBox', () => {
12161216
"description": "Error: anonymous error!",
12171217
"environmentLabel": null,
12181218
"label": "Runtime Error",
1219-
"source": "pages/index.js (3:11) @ eval
1219+
"source": "pages/index.js (3:11)
12201220
> 3 | throw new Error("anonymous error!");
12211221
| ^",
12221222
"stack": [

test/development/acceptance/error-recovery.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ describe('pages/ error recovery', () => {
743743
"description": "Error: no 1",
744744
"environmentLabel": null,
745745
"label": "Unhandled Runtime Error",
746-
"source": "index.js (5:9) @ eval
746+
"source": "index.js (5:9)
747747
> 5 | throw Error('no ' + i)
748748
| ^",
749749
"stack": [

test/development/app-dir/owner-stack-react-missing-key-prop/owner-stack-react-missing-key-prop.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe('app-dir - owner-stack-react-missing-key-prop', () => {
4141
at Page (app/rsc/page.tsx (6:13))"
4242
`)
4343
expect(source).toMatchInlineSnapshot(`
44-
"app/rsc/page.tsx (7:9) @ eval
44+
"app/rsc/page.tsx (7:9)
4545
4646
5 | <div>
4747
6 | {list.map((item, index) => (
@@ -86,7 +86,7 @@ describe('app-dir - owner-stack-react-missing-key-prop', () => {
8686
at Page (app/ssr/page.tsx (8:13))"
8787
`)
8888
expect(source).toMatchInlineSnapshot(`
89-
"app/ssr/page.tsx (9:9) @ eval
89+
"app/ssr/page.tsx (9:9)
9090
9191
7 | <div>
9292
8 | {list.map((item, index) => (

test/development/middleware-errors/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ describe('middleware - development errors', () => {
225225
"description": "ReferenceError: test is not defined",
226226
"environmentLabel": null,
227227
"label": "Runtime Error",
228-
"source": "middleware.js (4:9) @ eval
228+
"source": "middleware.js (4:9)
229229
> 4 | eval('test')
230230
| ^",
231231
"stack": [
@@ -308,7 +308,7 @@ describe('middleware - development errors', () => {
308308
"description": "Error: booooom!",
309309
"environmentLabel": null,
310310
"label": "Runtime Error",
311-
"source": "middleware.js (3:13) @ eval
311+
"source": "middleware.js (3:13)
312312
> 3 | throw new Error('booooom!')
313313
| ^",
314314
"stack": [

test/development/pages-dir/client-navigation/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ describe('Client Navigation', () => {
13181318
"description": "Error: An Expected error occurred",
13191319
"environmentLabel": null,
13201320
"label": "Unhandled Runtime Error",
1321-
"source": "pages/error-in-the-browser-global-scope.js (2:9) @ eval
1321+
"source": "pages/error-in-the-browser-global-scope.js (2:9)
13221322
> 2 | throw new Error('An Expected error occurred')
13231323
| ^",
13241324
"stack": [

test/development/pages-dir/client-navigation/rendering.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ describe('Client Navigation rendering', () => {
299299
"description": "ReferenceError: aa is not defined",
300300
"environmentLabel": null,
301301
"label": "Runtime Error",
302-
"source": "pages/error-in-the-global-scope.js (1:1) @ eval
302+
"source": "pages/error-in-the-global-scope.js (1:1)
303303
> 1 | aa = 10 //eslint-disable-line
304304
| ^",
305305
"stack": [

test/e2e/app-dir/non-root-project-monorepo/non-root-project-monorepo.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ describe('non-root-project-monorepo', () => {
117117
} else {
118118
// TODO the function name is incorrect
119119
expect(await getRedboxSource(browser)).toMatchInlineSnapshot(`
120-
"app/separate-file.ts (1:11) @ eval
120+
"app/separate-file.ts (1:11)
121121
122122
> 1 | throw new Error('Expected error')
123123
| ^

test/e2e/app-dir/use-cache-hanging-inputs/use-cache-hanging-inputs.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ describe('use-cache-hanging-inputs', () => {
5656
at [project]/app/search-params/page.tsx [app-rsc] (ecmascript)`)
5757
} else {
5858
expect(errorSource).toMatchInlineSnapshot(`
59-
"app/search-params/page.tsx (3:16) @ eval
59+
"app/search-params/page.tsx (3:16)
6060
6161
1 | 'use cache'
6262
2 |
@@ -115,7 +115,7 @@ describe('use-cache-hanging-inputs', () => {
115115
at [project]/app/uncached-promise/page.tsx [app-rsc] (ecmascript)`)
116116
} else {
117117
expect(errorSource).toMatchInlineSnapshot(`
118-
"app/uncached-promise/page.tsx (10:13) @ eval
118+
"app/uncached-promise/page.tsx (10:13)
119119
120120
8 | }
121121
9 |
@@ -161,7 +161,7 @@ describe('use-cache-hanging-inputs', () => {
161161
at [project]/app/uncached-promise-nested/page.tsx [app-rsc] (ecmascript)`)
162162
} else {
163163
expect(errorSource).toMatchInlineSnapshot(`
164-
"app/uncached-promise-nested/page.tsx (16:1) @ eval
164+
"app/uncached-promise-nested/page.tsx (16:1)
165165
166166
14 | }
167167
15 |
@@ -223,7 +223,7 @@ describe('use-cache-hanging-inputs', () => {
223223
at [project]/app/bound-args/page.tsx [app-rsc] (ecmascript)`)
224224
} else {
225225
expect(errorSource).toMatchInlineSnapshot(`
226-
"app/bound-args/page.tsx (13:15) @ eval
226+
"app/bound-args/page.tsx (13:15)
227227
228228
11 | const uncachedDataPromise = fetchUncachedData()
229229
12 |

test/lib/add-redbox-matchers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async function createRedboxSnapshot(
9898
// Here we focus on the cursor position of the top most frame
9999
// From
100100
//
101-
// pages/index.js (3:11) @ eval
101+
// pages/index.js (3:11)
102102
//
103103
// 1 | export default function Page() {
104104
// 2 | [1, 2, 3].map(() => {

0 commit comments

Comments
 (0)