]> source.dussan.org Git - sonarqube.git/blob
7f37890764ce5c81db54b7133e40c51e04413c19
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Fragment>
5   <Helmet
6     defer={true}
7     encodeSpecialCharacters={true}
8     title="my_account.create_new.TRK"
9     titleTemplate="%s"
10   />
11   <A11ySkipTarget
12     anchor="create_project_main"
13   />
14   <div
15     className="page page-limited huge-spacer-bottom position-relative"
16     id="create-project"
17   >
18     <CreateProjectModeSelection
19       almCounts={
20         Object {
21           "azure": 0,
22           "bitbucket": 0,
23           "github": 0,
24           "gitlab": 0,
25         }
26       }
27       loadingBindings={true}
28       onSelectMode={[Function]}
29     />
30   </div>
31 </Fragment>
32 `;
33
34 exports[`should render correctly if no branch support 1`] = `
35 <Fragment>
36   <Helmet
37     defer={true}
38     encodeSpecialCharacters={true}
39     title="my_account.create_new.TRK"
40     titleTemplate="%s"
41   />
42   <A11ySkipTarget
43     anchor="create_project_main"
44   />
45   <div
46     className="page page-limited huge-spacer-bottom position-relative"
47     id="create-project"
48   >
49     <ManualProjectCreate
50       onProjectCreate={[Function]}
51     />
52   </div>
53 </Fragment>
54 `;
55
56 exports[`should render correctly if the Azure method is selected 1`] = `
57 <Fragment>
58   <Helmet
59     defer={true}
60     encodeSpecialCharacters={true}
61     title="my_account.create_new.TRK"
62     titleTemplate="%s"
63   />
64   <A11ySkipTarget
65     anchor="create_project_main"
66   />
67   <div
68     className="page page-limited huge-spacer-bottom position-relative"
69     id="create-project"
70   >
71     <AzureProjectCreate
72       canAdmin={false}
73       loadingBindings={true}
74       location={
75         Object {
76           "action": "PUSH",
77           "hash": "",
78           "key": "key",
79           "pathname": "/path",
80           "query": Object {
81             "mode": "azure",
82           },
83           "search": "",
84           "state": Object {},
85         }
86       }
87       onProjectCreate={[Function]}
88       settings={Array []}
89     />
90   </div>
91 </Fragment>
92 `;
93
94 exports[`should render correctly if the BBS method is selected 1`] = `
95 <Fragment>
96   <Helmet
97     defer={true}
98     encodeSpecialCharacters={true}
99     title="my_account.create_new.TRK"
100     titleTemplate="%s"
101   />
102   <A11ySkipTarget
103     anchor="create_project_main"
104   />
105   <div
106     className="page page-limited huge-spacer-bottom position-relative"
107     id="create-project"
108   >
109     <BitbucketProjectCreate
110       bitbucketSettings={Array []}
111       canAdmin={false}
112       loadingBindings={true}
113       location={
114         Object {
115           "action": "PUSH",
116           "hash": "",
117           "key": "key",
118           "pathname": "/path",
119           "query": Object {
120             "mode": "bitbucket",
121           },
122           "search": "",
123           "state": Object {},
124         }
125       }
126       onProjectCreate={[Function]}
127     />
128   </div>
129 </Fragment>
130 `;
131
132 exports[`should render correctly if the GitHub method is selected 1`] = `
133 <Fragment>
134   <Helmet
135     defer={true}
136     encodeSpecialCharacters={true}
137     title="my_account.create_new.TRK"
138     titleTemplate="%s"
139   />
140   <A11ySkipTarget
141     anchor="create_project_main"
142   />
143   <div
144     className="page page-limited huge-spacer-bottom position-relative"
145     id="create-project"
146   >
147     <GitHubProjectCreate
148       canAdmin={false}
149       loadingBindings={true}
150       location={
151         Object {
152           "action": "PUSH",
153           "hash": "",
154           "key": "key",
155           "pathname": "/path",
156           "query": Object {
157             "mode": "github",
158           },
159           "search": "",
160           "state": Object {},
161         }
162       }
163       onProjectCreate={[Function]}
164       router={
165         Object {
166           "createHref": [MockFunction],
167           "createPath": [MockFunction],
168           "go": [MockFunction],
169           "goBack": [MockFunction],
170           "goForward": [MockFunction],
171           "isActive": [MockFunction],
172           "push": [MockFunction],
173           "replace": [MockFunction],
174           "setRouteLeaveHook": [MockFunction],
175         }
176       }
177       settings={Array []}
178     />
179   </div>
180 </Fragment>
181 `;
182
183 exports[`should render correctly if the GitLab method is selected 1`] = `
184 <Fragment>
185   <Helmet
186     defer={true}
187     encodeSpecialCharacters={true}
188     title="my_account.create_new.TRK"
189     titleTemplate="%s"
190   />
191   <A11ySkipTarget
192     anchor="create_project_main"
193   />
194   <div
195     className="page page-limited huge-spacer-bottom position-relative"
196     id="create-project"
197   >
198     <GitlabProjectCreate
199       canAdmin={false}
200       loadingBindings={true}
201       location={
202         Object {
203           "action": "PUSH",
204           "hash": "",
205           "key": "key",
206           "pathname": "/path",
207           "query": Object {
208             "mode": "gitlab",
209           },
210           "search": "",
211           "state": Object {},
212         }
213       }
214       onProjectCreate={[Function]}
215       router={
216         Object {
217           "createHref": [MockFunction],
218           "createPath": [MockFunction],
219           "go": [MockFunction],
220           "goBack": [MockFunction],
221           "goForward": [MockFunction],
222           "isActive": [MockFunction],
223           "push": [MockFunction],
224           "replace": [MockFunction],
225           "setRouteLeaveHook": [MockFunction],
226         }
227       }
228       settings={Array []}
229     />
230   </div>
231 </Fragment>
232 `;
233
234 exports[`should render correctly if the manual method is selected 1`] = `
235 <Fragment>
236   <Helmet
237     defer={true}
238     encodeSpecialCharacters={true}
239     title="my_account.create_new.TRK"
240     titleTemplate="%s"
241   />
242   <A11ySkipTarget
243     anchor="create_project_main"
244   />
245   <div
246     className="page page-limited huge-spacer-bottom position-relative"
247     id="create-project"
248   >
249     <ManualProjectCreate
250       onProjectCreate={[Function]}
251     />
252   </div>
253 </Fragment>
254 `;