]> source.dussan.org Git - sonarqube.git/blob
7390ef8020e73ae840bd77734751ba4084252675
[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           Object {
35             "message": "foo",
36           },
37         ]
38       }
39     />
40   </div>
41   <div
42     className="boxed-group-inner"
43     onMouseEnter={[Function]}
44     onMouseLeave={[Function]}
45   />
46 </li>
47 `;
48
49 exports[`should render correctly 1`] = `
50 <li
51   className="boxed-group system-info-health-card"
52 >
53   <div
54     className="boxed-group-header"
55     onClick={[Function]}
56   >
57     <span
58       className="system-info-health-card-title"
59     >
60       <OpenCloseIcon
61         className="little-spacer-right"
62         open={false}
63       />
64       Foobar
65     </span>
66     <HealthItem
67       biggerHealth={false}
68       className="pull-right spacer-left"
69       health="RED"
70       healthCauses={
71         Array [
72           Object {
73             "message": "foo",
74           },
75         ]
76       }
77     />
78   </div>
79 </li>
80 `;
81
82 exports[`should show a main section and multiple sub sections 1`] = `
83 <li
84   className="boxed-group system-info-health-card"
85 >
86   <div
87     className="boxed-group-header"
88     onClick={[Function]}
89   >
90     <span
91       className="system-info-health-card-title"
92     >
93       <OpenCloseIcon
94         className="little-spacer-right"
95         open={true}
96       />
97       Foobar
98     </span>
99     <HealthItem
100       biggerHealth={false}
101       className="pull-right spacer-left"
102       health="RED"
103       healthCauses={
104         Array [
105           Object {
106             "message": "foo",
107           },
108         ]
109       }
110     />
111   </div>
112   <div
113     className="boxed-group-inner"
114     onMouseEnter={[Function]}
115     onMouseLeave={[Function]}
116   >
117     <Section
118       items={
119         Object {
120           "Name": "foo",
121           "bar": "Bar",
122         }
123       }
124     />
125     <Section
126       items={
127         Object {
128           "db": "test",
129         }
130       }
131       name="Database"
132     />
133     <Section
134       items={
135         Object {
136           "Elastic": "search",
137         }
138       }
139       name="Elasticseach"
140     />
141   </div>
142 </li>
143 `;