]> source.dussan.org Git - sonarqube.git/blob
e417b038bc61e942ba23b6fd55eb41432ee40323
[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       <em
15         className="mandatory"
16       >
17         *
18       </em>
19     </span>
20     <HelpTooltip
21       className="spacer-left"
22       overlay="Help message"
23     />
24   </label>
25   <div
26     className="little-spacer-top spacer-bottom"
27   >
28     <div />
29   </div>
30   <div
31     className="note abs-width-400"
32   >
33     My description
34   </div>
35 </div>
36 `;
37
38 exports[`should render when valid 1`] = `
39 <div>
40   <label
41     htmlFor="field-id"
42   >
43     <span
44       className="text-middle"
45     >
46       <strong>
47         Field label
48       </strong>
49       <em
50         className="mandatory"
51       >
52         *
53       </em>
54     </span>
55   </label>
56   <div
57     className="little-spacer-top spacer-bottom"
58   >
59     <div />
60     <AlertSuccessIcon
61       className="spacer-left text-middle"
62     />
63   </div>
64   <div
65     className="note abs-width-400"
66   >
67     My description
68   </div>
69 </div>
70 `;
71
72 exports[`should render with error 1`] = `
73 <div>
74   <label
75     htmlFor="field-id"
76   >
77     <span
78       className="text-middle"
79     >
80       <strong>
81         Field label
82       </strong>
83     </span>
84   </label>
85   <div
86     className="little-spacer-top spacer-bottom"
87   >
88     <div />
89     <AlertErrorIcon
90       className="spacer-left text-middle"
91     />
92     <span
93       className="little-spacer-left text-danger text-middle"
94     >
95       Field error message
96     </span>
97   </div>
98   <div
99     className="note abs-width-400"
100   >
101     My description
102   </div>
103 </div>
104 `;