]> source.dussan.org Git - sonarqube.git/blob
4b4e605c0adfeab30f3f607af8c0730c6c902ed6
[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     className=""
51     type="text"
52   />
53   <div
54     className="modal-field-description"
55   >
56     Describe Foo.
57   </div>
58 </div>
59 `;
60
61 exports[`should display the field without any error/validation 2`] = `
62 <div
63   className="modal-validation-field"
64 >
65   <label>
66     Foo
67   </label>
68   <input
69     className=""
70     type="text"
71   />
72 </div>
73 `;