Skip to content

Commit 9cf21a6

Browse files
committed
test: update snapshots
1 parent 332f2d3 commit 9cf21a6

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

__tests__/__snapshots__/check-fixtures.js.snap

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,22 @@ exports[`linting javascript.js fixture matches snapshot 1`] = `
4848
"nodeType": "Identifier",
4949
"ruleId": "no-unused-vars",
5050
"severity": 2,
51+
"suggestions": [
52+
{
53+
"data": {
54+
"varName": "unusedEs6Import",
55+
},
56+
"desc": "Remove unused variable 'unusedEs6Import'.",
57+
"fix": {
58+
"range": [
59+
0,
60+
57,
61+
],
62+
"text": "",
63+
},
64+
"messageId": "removeVar",
65+
},
66+
],
5167
},
5268
{
5369
"column": 1,
@@ -110,6 +126,22 @@ import { unusedEs6Import } from './stub/unusedEs6Import';
110126
"nodeType": "Identifier",
111127
"ruleId": "no-unused-vars",
112128
"severity": 2,
129+
"suggestions": [
130+
{
131+
"data": {
132+
"varName": "y",
133+
},
134+
"desc": "Remove unused variable 'y'.",
135+
"fix": {
136+
"range": [
137+
365,
138+
366,
139+
],
140+
"text": "",
141+
},
142+
"messageId": "removeVar",
143+
},
144+
],
113145
},
114146
{
115147
"column": 9,

0 commit comments

Comments
 (0)