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