]> source.dussan.org Git - sonarqube.git/blob
a478aa8017b664a268a1c073fbe99fbf007325ae
[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     <RadioToggle
12       disabled={false}
13       name="language"
14       onCheck={[Function]}
15       options={
16         Array [
17           Object {
18             "label": "onboarding.build.maven",
19             "value": "maven",
20           },
21           Object {
22             "label": "onboarding.build.gradle",
23             "value": "gradle",
24           },
25           Object {
26             "label": "onboarding.build.dotnet",
27             "value": "dotnet",
28           },
29           Object {
30             "label": "onboarding.build.cfamily",
31             "value": "cfamily",
32           },
33           Object {
34             "label": "onboarding.build.other",
35             "value": "other",
36           },
37         ]
38       }
39       value={null}
40     />
41   </div>
42 </Fragment>
43 `;
44
45 exports[`renders correctly: with "maven" selected 1`] = `
46 <Fragment>
47   <div>
48     <h4
49       className="spacer-bottom"
50     >
51       onboarding.build
52     </h4>
53     <RadioToggle
54       disabled={false}
55       name="language"
56       onCheck={[Function]}
57       options={
58         Array [
59           Object {
60             "label": "onboarding.build.maven",
61             "value": "maven",
62           },
63           Object {
64             "label": "onboarding.build.gradle",
65             "value": "gradle",
66           },
67           Object {
68             "label": "onboarding.build.dotnet",
69             "value": "dotnet",
70           },
71           Object {
72             "label": "onboarding.build.cfamily",
73             "value": "cfamily",
74           },
75           Object {
76             "label": "onboarding.build.other",
77             "value": "other",
78           },
79         ]
80       }
81       value="maven"
82     />
83   </div>
84 </Fragment>
85 `;
86
87 exports[`renders correctly: with "other" selected 1`] = `
88 <Fragment>
89   <div>
90     <h4
91       className="spacer-bottom"
92     >
93       onboarding.build
94     </h4>
95     <RadioToggle
96       disabled={false}
97       name="language"
98       onCheck={[Function]}
99       options={
100         Array [
101           Object {
102             "label": "onboarding.build.maven",
103             "value": "maven",
104           },
105           Object {
106             "label": "onboarding.build.gradle",
107             "value": "gradle",
108           },
109           Object {
110             "label": "onboarding.build.dotnet",
111             "value": "dotnet",
112           },
113           Object {
114             "label": "onboarding.build.cfamily",
115             "value": "cfamily",
116           },
117           Object {
118             "label": "onboarding.build.other",
119             "value": "other",
120           },
121         ]
122       }
123       value="other"
124     />
125   </div>
126   <RenderOptions
127     name="os"
128     onCheck={[Function]}
129     optionLabelKey="onboarding.build.other.os"
130     options={
131       Array [
132         "linux",
133         "win",
134         "mac",
135       ]
136     }
137     titleLabelKey="onboarding.build.other.os"
138   />
139 </Fragment>
140 `;