]> source.dussan.org Git - sonarqube.git/blob
b6b76f5f6a3c226d7e38d43d60ccf469708f1748
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should display marketing badge params 1`] = `
4 <div>
5   <label
6     className="spacer-right"
7     htmlFor="badge-color"
8   >
9     color
10     :
11   </label>
12   <Select
13     className="input-medium"
14     clearable={false}
15     name="badge-color"
16     onChange={[Function]}
17     options={
18       Array [
19         Object {
20           "label": "overview.badges.options.colors.white",
21           "value": "white",
22         },
23         Object {
24           "label": "overview.badges.options.colors.black",
25           "value": "black",
26         },
27         Object {
28           "label": "overview.badges.options.colors.orange",
29           "value": "orange",
30         },
31       ]
32     }
33     searchable={false}
34     value="white"
35   />
36   <label
37     className="spacer-right spacer-top"
38     htmlFor="badge-format"
39   >
40     format
41     :
42   </label>
43   <Select
44     className="input-medium"
45     clearable={false}
46     name="badge-format"
47     onChange={[Function]}
48     options={
49       Array [
50         Object {
51           "label": "overview.badges.options.formats.md",
52           "value": "md",
53         },
54         Object {
55           "label": "overview.badges.options.formats.url",
56           "value": "url",
57         },
58       ]
59     }
60     searchable={false}
61     value="md"
62   />
63 </div>
64 `;
65
66 exports[`should display measure badge params 1`] = `
67 <div>
68   <label
69     className="spacer-right"
70     htmlFor="badge-metric"
71   >
72     overview.badges.metric
73     :
74   </label>
75   <Select
76     className="input-medium"
77     clearable={false}
78     menuStyle={
79       Object {
80         "maxHeight": 100,
81       }
82     }
83     name="badge-metric"
84     onChange={[Function]}
85     options={Array []}
86     searchable={false}
87     value="alert_status"
88   />
89   <label
90     className="spacer-right spacer-top"
91     htmlFor="badge-format"
92   >
93     format
94     :
95   </label>
96   <Select
97     className="input-medium"
98     clearable={false}
99     name="badge-format"
100     onChange={[Function]}
101     options={
102       Array [
103         Object {
104           "label": "overview.badges.options.formats.md",
105           "value": "md",
106         },
107         Object {
108           "label": "overview.badges.options.formats.url",
109           "value": "url",
110         },
111       ]
112     }
113     searchable={false}
114     value="md"
115   />
116 </div>
117 `;
118
119 exports[`should display quality gate badge params 1`] = `
120 <div>
121   <label
122     className="spacer-right"
123     htmlFor="badge-format"
124   >
125     format
126     :
127   </label>
128   <Select
129     className="input-medium"
130     clearable={false}
131     name="badge-format"
132     onChange={[Function]}
133     options={
134       Array [
135         Object {
136           "label": "overview.badges.options.formats.md",
137           "value": "md",
138         },
139         Object {
140           "label": "overview.badges.options.formats.url",
141           "value": "url",
142         },
143       ]
144     }
145     searchable={false}
146     value="md"
147   />
148 </div>
149 `;