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