]> source.dussan.org Git - sonarqube.git/blob
ed38c39ba3751f257770fcce64603a8e5bfe909c
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders correctly: default 1`] = `
4 <Fragment>
5   <div>
6     <h4
7       className="spacer-bottom"
8     >
9       onboarding.build
10     </h4>
11     <ButtonToggle
12       label="onboarding.build"
13       onCheck={[Function]}
14       options={
15         [
16           {
17             "label": "onboarding.build.maven",
18             "value": "maven",
19           },
20           {
21             "label": "onboarding.build.gradle",
22             "value": "gradle",
23           },
24           {
25             "label": "onboarding.build.dotnet",
26             "value": "dotnet",
27           },
28           {
29             "label": "onboarding.build.cfamily",
30             "value": "cfamily",
31           },
32           {
33             "label": "onboarding.build.other",
34             "value": "other",
35           },
36         ]
37       }
38     />
39   </div>
40 </Fragment>
41 `;
42
43 exports[`renders correctly: with "maven" selected 1`] = `
44 <Fragment>
45   <div>
46     <h4
47       className="spacer-bottom"
48     >
49       onboarding.build
50     </h4>
51     <ButtonToggle
52       label="onboarding.build"
53       onCheck={[Function]}
54       options={
55         [
56           {
57             "label": "onboarding.build.maven",
58             "value": "maven",
59           },
60           {
61             "label": "onboarding.build.gradle",
62             "value": "gradle",
63           },
64           {
65             "label": "onboarding.build.dotnet",
66             "value": "dotnet",
67           },
68           {
69             "label": "onboarding.build.cfamily",
70             "value": "cfamily",
71           },
72           {
73             "label": "onboarding.build.other",
74             "value": "other",
75           },
76         ]
77       }
78       value="maven"
79     />
80   </div>
81 </Fragment>
82 `;
83
84 exports[`renders correctly: with "other" selected 1`] = `
85 <Fragment>
86   <div>
87     <h4
88       className="spacer-bottom"
89     >
90       onboarding.build
91     </h4>
92     <ButtonToggle
93       label="onboarding.build"
94       onCheck={[Function]}
95       options={
96         [
97           {
98             "label": "onboarding.build.maven",
99             "value": "maven",
100           },
101           {
102             "label": "onboarding.build.gradle",
103             "value": "gradle",
104           },
105           {
106             "label": "onboarding.build.dotnet",
107             "value": "dotnet",
108           },
109           {
110             "label": "onboarding.build.cfamily",
111             "value": "cfamily",
112           },
113           {
114             "label": "onboarding.build.other",
115             "value": "other",
116           },
117         ]
118       }
119       value="other"
120     />
121   </div>
122   <RenderOptions
123     label="onboarding.build.other.os"
124     onCheck={[Function]}
125     optionLabelKey="onboarding.build.other.os"
126     options={
127       [
128         "linux",
129         "win",
130         "mac",
131       ]
132     }
133     titleLabelKey="onboarding.build.other.os"
134   />
135 </Fragment>
136 `;
137
138 exports[`renders correctly: without C 1`] = `
139 <Fragment>
140   <div>
141     <h4
142       className="spacer-bottom"
143     >
144       onboarding.build
145     </h4>
146     <ButtonToggle
147       label="onboarding.build"
148       onCheck={[Function]}
149       options={
150         [
151           {
152             "label": "onboarding.build.maven",
153             "value": "maven",
154           },
155           {
156             "label": "onboarding.build.gradle",
157             "value": "gradle",
158           },
159           {
160             "label": "onboarding.build.dotnet",
161             "value": "dotnet",
162           },
163           {
164             "label": "onboarding.build.other",
165             "value": "other",
166           },
167         ]
168       }
169     />
170   </div>
171 </Fragment>
172 `;