]> source.dussan.org Git - sonarqube.git/blob
724001990fa932da1464b9288c2bbc8e4ca72dab
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should display the sysinfo detail 1`] = `
4 <li
5   className="boxed-group system-info-health-card"
6 >
7   <div
8     className="boxed-group-header"
9     onClick={[Function]}
10   >
11     <span
12       className="system-info-health-card-title"
13     >
14       <OpenCloseIcon
15         className="little-spacer-right"
16         open={true}
17       />
18       Foobar
19     </span>
20     <HealthItem
21       className="pull-right big-dot"
22       health="RED"
23       healthCauses={
24         Array [
25           Object {
26             "message": "foo",
27           },
28         ]
29       }
30     />
31   </div>
32   <div
33     className="boxed-group-inner"
34     onMouseEnter={[Function]}
35     onMouseLeave={[Function]}
36   />
37 </li>
38 `;
39
40 exports[`should render correctly 1`] = `
41 <li
42   className="boxed-group system-info-health-card"
43 >
44   <div
45     className="boxed-group-header"
46     onClick={[Function]}
47   >
48     <span
49       className="system-info-health-card-title"
50     >
51       <OpenCloseIcon
52         className="little-spacer-right"
53         open={false}
54       />
55       Foobar
56     </span>
57     <HealthItem
58       className="pull-right"
59       health="RED"
60       healthCauses={
61         Array [
62           Object {
63             "message": "foo",
64           },
65         ]
66       }
67     />
68   </div>
69 </li>
70 `;
71
72 exports[`should show a main section and multiple sub sections 1`] = `
73 <li
74   className="boxed-group system-info-health-card"
75 >
76   <div
77     className="boxed-group-header"
78     onClick={[Function]}
79   >
80     <span
81       className="system-info-health-card-title"
82     >
83       <OpenCloseIcon
84         className="little-spacer-right"
85         open={true}
86       />
87       Foobar
88     </span>
89     <HealthItem
90       className="pull-right"
91       health="RED"
92       healthCauses={
93         Array [
94           Object {
95             "message": "foo",
96           },
97         ]
98       }
99     />
100   </div>
101   <div
102     className="boxed-group-inner"
103     onMouseEnter={[Function]}
104     onMouseLeave={[Function]}
105   >
106     <Section
107       items={
108         Object {
109           "Name": "foo",
110           "bar": "Bar",
111         }
112       }
113     />
114     <Section
115       items={
116         Object {
117           "db": "test",
118         }
119       }
120       name="Database"
121     />
122     <Section
123       items={
124         Object {
125           "Elastic": "search",
126         }
127       }
128       name="Elasticseach"
129     />
130   </div>
131 </li>
132 `;