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