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