]> source.dussan.org Git - sonarqube.git/blob
cc15270b4b803d1e3604b4e53e1dba856ae4fdd5
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should display the field as valid 1`] = `
4 <div
5   className="modal-validation-field"
6 >
7   <label>
8     Foo
9   </label>
10   <input
11     className="is-valid"
12     type="text"
13   />
14   <AlertSuccessIcon
15     className="little-spacer-top"
16   />
17 </div>
18 `;
19
20 exports[`should display the field with an error 1`] = `
21 <div
22   className="modal-validation-field"
23 >
24   <label>
25     Foo
26   </label>
27   <input
28     className="is-invalid"
29     type="text"
30   />
31   <AlertErrorIcon
32     className="little-spacer-top"
33   />
34   <p
35     className="text-danger"
36   >
37     Is required
38   </p>
39 </div>
40 `;
41
42 exports[`should display the field without any error/validation 1`] = `
43 <div
44   className="modal-validation-field"
45 >
46   <label>
47     Foo
48   </label>
49   <input
50     type="text"
51   />
52   <div
53     className="modal-field-description"
54   >
55     Describe Foo.
56   </div>
57 </div>
58 `;
59
60 exports[`should display the field without any error/validation 2`] = `
61 <div
62   className="modal-validation-field"
63 >
64   <label>
65     Foo
66   </label>
67   <input
68     type="text"
69   />
70 </div>
71 `;