]> source.dussan.org Git - sonarqube.git/blob
658c06d2ab923719f4869c08bf9eab3ff5aed995
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: full rights and alms 1`] = `
4 <Fragment>
5   <Dropdown
6     onOpen={[Function]}
7     overlay={
8       <GlobalNavPlusMenu
9         canCreateApplication={true}
10         canCreatePortfolio={true}
11         canCreateProject={true}
12         compatibleAlms={
13           Array [
14             "bitbucket",
15           ]
16         }
17         onComponentCreationClick={[Function]}
18       />
19     }
20     tagName="li"
21   >
22     <a
23       className="navbar-icon navbar-plus"
24       href="#"
25       title="my_account.create_new_project_portfolio_or_application"
26     >
27       <PlusIcon />
28     </a>
29   </Dropdown>
30 </Fragment>
31 `;
32
33 exports[`should render correctly: no governance 1`] = `
34 <Fragment>
35   <Dropdown
36     onOpen={[Function]}
37     overlay={
38       <GlobalNavPlusMenu
39         canCreateApplication={false}
40         canCreatePortfolio={false}
41         canCreateProject={true}
42         compatibleAlms={Array []}
43         onComponentCreationClick={[Function]}
44       />
45     }
46     tagName="li"
47   >
48     <a
49       className="navbar-icon navbar-plus"
50       href="#"
51       title="my_account.create_new_project_portfolio_or_application"
52     >
53       <PlusIcon />
54     </a>
55   </Dropdown>
56 </Fragment>
57 `;