-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
test.js.snap
38 lines (37 loc) · 939 Bytes
/
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
// 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": 0,
"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,
"line": 1,
"message": "Missing semicolon (tslint:semicolon)",
"messageId": "failure",
"nodeType": null,
"ruleId": "@typescript-eslint/tslint/config",
"severity": 2,
},
],
"source": "const noSemi = true
",
"warningCount": 1,
},
]
`;