]> source.dussan.org Git - sonarqube.git/blob
231134d60512043d34950d795d9ddd83ac893da6
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render issues 1`] = `
4 <div
5   className="issue-list"
6 >
7   <Issue
8     branchLike={
9       {
10         "analysisDate": "2018-01-01",
11         "excludedFromPurge": true,
12         "isMain": false,
13         "name": "branch-6.7",
14       }
15     }
16     displayWhyIsThisAnIssue={true}
17     issue={
18       {
19         "actions": [],
20         "component": "main.js",
21         "componentEnabled": true,
22         "componentLongName": "main.js",
23         "componentQualifier": "FIL",
24         "componentUuid": "foo1234",
25         "creationDate": "2017-03-01T09:36:01+0100",
26         "flows": [],
27         "flowsWithType": [],
28         "key": "issue",
29         "line": 25,
30         "message": "Reduce the number of conditional operators (4) used in the expression",
31         "project": "myproject",
32         "projectKey": "foo",
33         "projectName": "Foo",
34         "rule": "javascript:S1067",
35         "ruleName": "foo",
36         "secondaryLocations": [],
37         "severity": "MAJOR",
38         "status": "OPEN",
39         "textRange": {
40           "endLine": 26,
41           "endOffset": 15,
42           "startLine": 25,
43           "startOffset": 0,
44         },
45         "transitions": [],
46         "type": "BUG",
47       }
48     }
49     key="issue"
50     onChange={[MockFunction]}
51     onClick={[MockFunction]}
52     onPopupToggle={[MockFunction]}
53     selected={true}
54   />
55 </div>
56 `;