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