Skip to content

Commit

Permalink
Manually fix snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Jun 1, 2021
1 parent 78ab08a commit f14b365
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/__tests__/get-user-code-frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ test('it returns only user code frame when code frames from node_modules are fir
const userTrace = getUserCodeFrame(stack)

expect(userTrace).toMatchInlineSnapshot(`
"/sample-error/error-example.js:7:14
/sample-error/error-example.js:7:14
5 | document.createTextNode('Hello world')
6 | )
> 7 | screen.debug()
| ^
"
`)
})

Expand All @@ -59,12 +59,12 @@ test('it returns only user code frame when node code frames are present afterwar
const userTrace = getUserCodeFrame()

expect(userTrace).toMatchInlineSnapshot(`
"/sample-error/error-example.js:7:14
/sample-error/error-example.js:7:14
5 | document.createTextNode('Hello world')
6 | )
> 7 | screen.debug()
| ^
"
`)
})

Expand Down

0 comments on commit f14b365

Please sign in to comment.