]> source.dussan.org Git - sonarqube.git/blob
3a1c1edc18beb4967b84e993a11cde62e617cf32
[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 BBS 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     <BitbucketProjectCreate
72       bitbucketSettings={Array []}
73       canAdmin={false}
74       loadingBindings={true}
75       location={
76         Object {
77           "action": "PUSH",
78           "hash": "",
79           "key": "key",
80           "pathname": "/path",
81           "query": Object {
82             "mode": "bitbucket",
83           },
84           "search": "",
85           "state": Object {},
86         }
87       }
88       onProjectCreate={[Function]}
89     />
90   </div>
91 </Fragment>
92 `;
93
94 exports[`should render correctly if the GitHub 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     <GitHubProjectCreate
110       canAdmin={false}
111       loadingBindings={true}
112       location={
113         Object {
114           "action": "PUSH",
115           "hash": "",
116           "key": "key",
117           "pathname": "/path",
118           "query": Object {
119             "mode": "github",
120           },
121           "search": "",
122           "state": Object {},
123         }
124       }
125       onProjectCreate={[Function]}
126       router={
127         Object {
128           "createHref": [MockFunction],
129           "createPath": [MockFunction],
130           "go": [MockFunction],
131           "goBack": [MockFunction],
132           "goForward": [MockFunction],
133           "isActive": [MockFunction],
134           "push": [MockFunction],
135           "replace": [MockFunction],
136           "setRouteLeaveHook": [MockFunction],
137         }
138       }
139       settings={Array []}
140     />
141   </div>
142 </Fragment>
143 `;
144
145 exports[`should render correctly if the manual method is selected 1`] = `
146 <Fragment>
147   <Helmet
148     defer={true}
149     encodeSpecialCharacters={true}
150     title="my_account.create_new.TRK"
151     titleTemplate="%s"
152   />
153   <A11ySkipTarget
154     anchor="create_project_main"
155   />
156   <div
157     className="page page-limited huge-spacer-bottom position-relative"
158     id="create-project"
159   >
160     <ManualProjectCreate
161       onProjectCreate={[Function]}
162     />
163   </div>
164 </Fragment>
165 `;