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