]> source.dussan.org Git - sonarqube.git/blob
d107ddc2693b6d3a1ab4044874d20b35019d0cda
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <div>
5   <i
6     className="spinner"
7   />
8 </div>
9 `;
10
11 exports[`should render correctly 2`] = `
12 <ul>
13   <ListItem
14     checked={false}
15     issue={
16       {
17         "actions": [],
18         "component": "main.js",
19         "componentEnabled": true,
20         "componentLongName": "main.js",
21         "componentQualifier": "FIL",
22         "componentUuid": "foo1234",
23         "creationDate": "2017-03-01T09:36:01+0100",
24         "flows": [],
25         "flowsWithType": [],
26         "key": "AVsae-CQS-9G3txfbFN2",
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": [],
35         "severity": "MAJOR",
36         "status": "OPEN",
37         "textRange": {
38           "endLine": 26,
39           "endOffset": 15,
40           "startLine": 25,
41           "startOffset": 0,
42         },
43         "transitions": [],
44         "type": "BUG",
45       }
46     }
47     key="AVsae-CQS-9G3txfbFN2"
48     onChange={[MockFunction]}
49     onCheck={[MockFunction]}
50     onClick={[MockFunction]}
51     onFilterChange={[MockFunction]}
52     onPopupToggle={[MockFunction]}
53     selected={false}
54   />
55   <ListItem
56     checked={false}
57     issue={
58       {
59         "actions": [],
60         "component": "main.js",
61         "componentEnabled": true,
62         "componentLongName": "main.js",
63         "componentQualifier": "FIL",
64         "componentUuid": "foo1234",
65         "creationDate": "2017-03-01T09:36:01+0100",
66         "flows": [],
67         "flowsWithType": [],
68         "key": "AVsae-CQS-9G3txfbFN3",
69         "line": 25,
70         "message": "Reduce the number of conditional operators (4) used in the expression",
71         "project": "myproject",
72         "projectKey": "foo",
73         "projectName": "Foo",
74         "rule": "javascript:S1067",
75         "ruleName": "foo",
76         "secondaryLocations": [],
77         "severity": "MAJOR",
78         "status": "OPEN",
79         "textRange": {
80           "endLine": 26,
81           "endOffset": 15,
82           "startLine": 25,
83           "startOffset": 0,
84         },
85         "transitions": [],
86         "type": "BUG",
87       }
88     }
89     key="AVsae-CQS-9G3txfbFN3"
90     onChange={[MockFunction]}
91     onCheck={[MockFunction]}
92     onClick={[MockFunction]}
93     onFilterChange={[MockFunction]}
94     onPopupToggle={[MockFunction]}
95     previousIssue={
96       {
97         "actions": [],
98         "component": "main.js",
99         "componentEnabled": true,
100         "componentLongName": "main.js",
101         "componentQualifier": "FIL",
102         "componentUuid": "foo1234",
103         "creationDate": "2017-03-01T09:36:01+0100",
104         "flows": [],
105         "flowsWithType": [],
106         "key": "AVsae-CQS-9G3txfbFN2",
107         "line": 25,
108         "message": "Reduce the number of conditional operators (4) used in the expression",
109         "project": "myproject",
110         "projectKey": "foo",
111         "projectName": "Foo",
112         "rule": "javascript:S1067",
113         "ruleName": "foo",
114         "secondaryLocations": [],
115         "severity": "MAJOR",
116         "status": "OPEN",
117         "textRange": {
118           "endLine": 26,
119           "endOffset": 15,
120           "startLine": 25,
121           "startOffset": 0,
122         },
123         "transitions": [],
124         "type": "BUG",
125       }
126     }
127     selected={false}
128   />
129 </ul>
130 `;