Skip to content

Commit

Permalink
chore: snapshot formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
ctjlewis committed Aug 10, 2021
1 parent 00e8ad7 commit 8b9c70e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/acceptance/ReactRefreshRegression.dev.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,10 @@ test('shows an overlay for a server-side error', async () => {

const source = await session.getRedboxSource()
expect(source.split(/\r?\n/g).slice(2).join('\n')).toMatchInlineSnapshot(`
"> 1 | export default function () { throw new Error('boom'); }
| ^"
`)
" 1 | export default function () {
> 2 | throw new Error('boom');
3 | }"
`)

await cleanup()
})
Expand Down

0 comments on commit 8b9c70e

Please sign in to comment.