]> source.dussan.org Git - sonarqube.git/blob
d9fa53a295642372493ea6e190955611fc65200f
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should not render health causes 1`] = `
4 <div
5   className="system-info-health-info"
6 >
7   <span
8     className="system-info-health-dot GREEN"
9   />
10 </div>
11 `;
12
13 exports[`should not render health causes 2`] = `
14 <div
15   className="system-info-health-info"
16 >
17   <span
18     className="system-info-health-dot YELLOW"
19   />
20 </div>
21 `;
22
23 exports[`should render correctly 1`] = `
24 <div
25   className="system-info-health-info"
26 >
27   <HealthCauseItem
28     className="spacer-right"
29     health="RED"
30     healthCause={
31       Object {
32         "message": "foo",
33       }
34     }
35   />
36   <span
37     className="system-info-health-dot RED"
38   />
39 </div>
40 `;
41
42 exports[`should render multiple health causes 1`] = `
43 <div
44   className="system-info-health-info"
45 >
46   <HealthCauseItem
47     className="spacer-right"
48     health="YELLOW"
49     healthCause={
50       Object {
51         "message": "foo",
52       }
53     }
54   />
55   <HealthCauseItem
56     className="spacer-right"
57     health="YELLOW"
58     healthCause={
59       Object {
60         "message": "bar",
61       }
62     }
63   />
64   <span
65     className="system-info-health-dot YELLOW"
66   />
67 </div>
68 `;