From 0163beda0d7427f874d14db50996f69a04e33256 Mon Sep 17 00:00:00 2001 From: OJ Kwon <1210596+kwonoj@users.noreply.github.com> Date: Tue, 6 Dec 2022 08:41:12 -0800 Subject: [PATCH] test(snapshot): update snapshot --- .../ReactRefreshLogBox.test.ts.snap | 36 ++++++++++++------- 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/test/development/acceptance/__snapshots__/ReactRefreshLogBox.test.ts.snap b/test/development/acceptance/__snapshots__/ReactRefreshLogBox.test.ts.snap index 6f59ee031abe2f9..700dbdd4018737b 100644 --- a/test/development/acceptance/__snapshots__/ReactRefreshLogBox.test.ts.snap +++ b/test/development/acceptance/__snapshots__/ReactRefreshLogBox.test.ts.snap @@ -142,9 +142,12 @@ exports[`ReactRefreshLogBox syntax > runtime error 2`] = ` "./index.js Error: x Expected '}', got '' - ,---- - 8 | export default function FunctionNamed() { - : ^ + ,-[5:1] + 5 | i++ + 6 | throw Error('no ' + i) + 7 | }, 1000) + 8 | export default function FunctionNamed() { + : ^ \`---- Caused by: @@ -157,9 +160,12 @@ exports[`ReactRefreshLogBox syntax > runtime error 3`] = ` "./index.js Error: x Expected '}', got '' - ,---- - 8 | export default function FunctionNamed() { - : ^ + ,-[5:1] + 5 | i++ + 6 | throw Error('no ' + i) + 7 | }, 1000) + 8 | export default function FunctionNamed() { + : ^ \`---- Caused by: @@ -172,15 +178,21 @@ exports[`ReactRefreshLogBox unterminated JSX 1`] = ` "./index.js Error: x Unexpected token. Did you mean \`{'}'}\` or \`}\`? - ,---- - 8 | } - : ^ + ,-[5:1] + 5 |

lol

+ 6 | div + 7 | ) + 8 | } + : ^ + 9 | \`---- x Unexpected eof - ,---- - 9 | - : ^ + ,-[6:1] + 6 | div + 7 | ) + 8 | } + 9 | \`---- Caused by: