/
test.js.snap
45 lines (44 loc) · 1.04 KB
/
test.js.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`it should produce the expected lint ouput 1`] = `
Array [
Object {
"errorCount": 1,
"filePath": "/usr/linked/index.ts",
"fixableErrorCount": 1,
"fixableWarningCount": 0,
"messages": Array [
Object {
"column": 7,
"endColumn": 13,
"endLine": 1,
"line": 1,
"message": "'noSemi' is assigned a value but never used.",
"nodeType": "Identifier",
"ruleId": "@typescript-eslint/no-unused-vars",
"severity": 1,
},
Object {
"column": 20,
"endColumn": 20,
"endLine": 1,
"fix": Object {
"range": Array [
19,
19,
],
"text": ";",
},
"line": 1,
"message": "Missing semicolon (tslint:semicolon)",
"messageId": "failure",
"nodeType": null,
"ruleId": "@typescript-eslint/tslint/config",
"severity": 2,
},
],
"source": "const noSemi = true
",
"warningCount": 1,
},
]
`;