]> source.dussan.org Git - sonarqube.git/blob
c2d68a1d2bf12b40cd10a9532c51e2722d402025
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render 1`] = `
4 <div>
5   <label
6     htmlFor="field-id"
7   >
8     <span
9       className="text-middle"
10     >
11       <strong>
12         Field label
13       </strong>
14       <MandatoryFieldMarker />
15     </span>
16     <HelpTooltip
17       className="spacer-left"
18       overlay="Help message"
19     />
20   </label>
21   <div
22     className="little-spacer-top spacer-bottom"
23   >
24     <div />
25   </div>
26   <div
27     className="note abs-width-400"
28   >
29     My description
30   </div>
31 </div>
32 `;
33
34 exports[`should render when valid 1`] = `
35 <div>
36   <label
37     htmlFor="field-id"
38   >
39     <span
40       className="text-middle"
41     >
42       <strong>
43         Field label
44       </strong>
45       <MandatoryFieldMarker />
46     </span>
47   </label>
48   <div
49     className="little-spacer-top spacer-bottom"
50   >
51     <div />
52     <AlertSuccessIcon
53       className="spacer-left text-middle"
54     />
55   </div>
56   <div
57     className="note abs-width-400"
58   >
59     My description
60   </div>
61 </div>
62 `;
63
64 exports[`should render with error 1`] = `
65 <div>
66   <label
67     htmlFor="field-id"
68   >
69     <span
70       className="text-middle"
71     >
72       <strong>
73         Field label
74       </strong>
75     </span>
76   </label>
77   <div
78     className="little-spacer-top spacer-bottom"
79   >
80     <div />
81     <AlertErrorIcon
82       className="spacer-left text-middle"
83     />
84     <span
85       className="little-spacer-left text-danger text-middle"
86     >
87       Field error message
88     </span>
89   </div>
90   <div
91     className="note abs-width-400"
92   >
93     <div>
94       My description
95     </div>
96   </div>
97 </div>
98 `;