Skip to content

Commit

Permalink
Update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Jan 23, 2024
1 parent 659fbaa commit 5c8d2f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/development/acceptance/ReactRefreshLogBox.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,19 +211,19 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox %s', () => {
const source = next.normalizeTestDirContent(await session.getRedboxSource())
if (process.env.TURBOPACK) {
expect(source).toMatchInlineSnapshot(`
"./index.js:7:1
"./index.js:7:0
Parsing ecmascript source code failed
5 | div
6 | )
> 7 | }
| ^
| ^
Unexpected eof"
Unexpected token. Did you mean \`{'}'}\` or \`}\`?"
`)
} else {
expect(source).toMatchInlineSnapshot(`
"./index.js
Error:
Error:
x Unexpected token. Did you mean \`{'}'}\` or \`}\`?
,-[TEST_DIR/index.js:4:1]
4 | <p>lol</p>
Expand Down

0 comments on commit 5c8d2f1

Please sign in to comment.