Commit f56d5958 authored by RobPruzan's avatar RobPruzan Committed by Jiachi Liu

update snapshots due to owner stack mutation

parent f819c171
...@@ -81,11 +81,11 @@ describe('pages/ error recovery', () => { ...@@ -81,11 +81,11 @@ describe('pages/ error recovery', () => {
} else { } else {
await expect(browser).toDisplayRedbox(` await expect(browser).toDisplayRedbox(`
{ {
"description": " x Expected '>', got '<eof>'", "description": " x Unexpected eof",
"environmentLabel": null, "environmentLabel": null,
"label": "Build Error", "label": "Build Error",
"source": "./index.js "source": "./index.js
Error: x Expected '>', got '<eof>' Error: x Unexpected eof
,---- ,----
1 | export default () => <div/ 1 | export default () => <div/
\`---- \`----
...@@ -168,6 +168,8 @@ describe('pages/ error recovery', () => { ...@@ -168,6 +168,8 @@ describe('pages/ error recovery', () => {
| ^", | ^",
"stack": [ "stack": [
"Index.useCallback[increment] index.js (7:11)", "Index.useCallback[increment] index.js (7:11)",
"button <anonymous>",
"Index index.js (12:7)",
], ],
} }
`) `)
...@@ -305,6 +307,7 @@ describe('pages/ error recovery', () => { ...@@ -305,6 +307,7 @@ describe('pages/ error recovery', () => {
| ^", | ^",
"stack": [ "stack": [
"Child child.js (3:9)", "Child child.js (3:9)",
"Index index.js (6:7)",
], ],
} }
`) `)
...@@ -733,6 +736,7 @@ describe('pages/ error recovery', () => { ...@@ -733,6 +736,7 @@ describe('pages/ error recovery', () => {
| ^", | ^",
"stack": [ "stack": [
"Foo Foo.js (3:3)", "Foo Foo.js (3:3)",
"FunctionDefault index.js (4:10)",
], ],
} }
`) `)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment