Skip to content

Commit 99952dd

Browse files
committed
Revert snapshot changes
1 parent ff8c5da commit 99952dd

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/__tests__/get-user-code-frame.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ test('it returns only user code frame when code frames from node_modules are fir
3939
const userTrace = getUserCodeFrame(stack)
4040

4141
expect(userTrace).toMatchInlineSnapshot(`
42-
"/sample-error/error-example.js:7:14
43-
5 | document.createTextNode('Hello world')
44-
6 | )
45-
> 7 | screen.debug()
46-
| ^
47-
"
48-
`)
42+
/sample-error/error-example.js:7:14
43+
5 | document.createTextNode('Hello world')
44+
6 | )
45+
> 7 | screen.debug()
46+
| ^
47+
48+
`)
4949
})
5050

5151
test('it returns only user code frame when node code frames are present afterwards', () => {
@@ -59,13 +59,13 @@ test('it returns only user code frame when node code frames are present afterwar
5959
const userTrace = getUserCodeFrame()
6060

6161
expect(userTrace).toMatchInlineSnapshot(`
62-
"/sample-error/error-example.js:7:14
63-
5 | document.createTextNode('Hello world')
64-
6 | )
65-
> 7 | screen.debug()
66-
| ^
67-
"
68-
`)
62+
/sample-error/error-example.js:7:14
63+
5 | document.createTextNode('Hello world')
64+
6 | )
65+
> 7 | screen.debug()
66+
| ^
67+
68+
`)
6969
})
7070

7171
test("it returns empty string if file from code frame can't be read", () => {

0 commit comments

Comments
 (0)