]> source.dussan.org Git - sonarqube.git/blob
6018c82fd3a75668c479fd16dd6796ee521580fb
[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   <div
12     className="page page-limited huge-spacer-bottom position-relative"
13     id="create-project"
14   >
15     <CreateProjectModeSelection
16       bbsBindingCount={0}
17       loadingBindings={true}
18       onSelectMode={[Function]}
19     />
20   </div>
21 </Fragment>
22 `;
23
24 exports[`should render correctly if no branch support 1`] = `
25 <Fragment>
26   <Helmet
27     defer={true}
28     encodeSpecialCharacters={true}
29     title="my_account.create_new.TRK"
30     titleTemplate="%s"
31   />
32   <div
33     className="page page-limited huge-spacer-bottom position-relative"
34     id="create-project"
35   >
36     <ManualProjectCreate
37       branchesEnabled={false}
38       currentUser={
39         Object {
40           "groups": Array [],
41           "isLoggedIn": true,
42           "login": "luke",
43           "name": "Skywalker",
44           "scmAccounts": Array [],
45         }
46       }
47       onProjectCreate={[Function]}
48     />
49   </div>
50 </Fragment>
51 `;
52
53 exports[`should render correctly if the BBS method is selected 1`] = `
54 <Fragment>
55   <Helmet
56     defer={true}
57     encodeSpecialCharacters={true}
58     title="my_account.create_new.TRK"
59     titleTemplate="%s"
60   />
61   <div
62     className="page page-limited huge-spacer-bottom position-relative"
63     id="create-project"
64   >
65     <Connect(BitbucketProjectCreate)
66       bitbucketSettings={Array []}
67       loadingBindings={true}
68       location={
69         Object {
70           "action": "PUSH",
71           "hash": "",
72           "key": "key",
73           "pathname": "/path",
74           "query": Object {
75             "mode": "bbs",
76           },
77           "search": "",
78           "state": Object {},
79         }
80       }
81       onProjectCreate={[Function]}
82     />
83   </div>
84 </Fragment>
85 `;
86
87 exports[`should render correctly if the manual method is selected 1`] = `
88 <Fragment>
89   <Helmet
90     defer={true}
91     encodeSpecialCharacters={true}
92     title="my_account.create_new.TRK"
93     titleTemplate="%s"
94   />
95   <div
96     className="page page-limited huge-spacer-bottom position-relative"
97     id="create-project"
98   >
99     <ManualProjectCreate
100       branchesEnabled={true}
101       currentUser={
102         Object {
103           "groups": Array [],
104           "isLoggedIn": true,
105           "login": "luke",
106           "name": "Skywalker",
107           "scmAccounts": Array [],
108         }
109       }
110       onProjectCreate={[Function]}
111     />
112   </div>
113 </Fragment>
114 `;