]> source.dussan.org Git - sonarqube.git/blob
d1b0a82b9c60e990e1f0f8b9470cd6d3425ee02d
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders 1`] = `
4 <div
5   className="projects-empty-list"
6 >
7   <h3>
8     projects.no_favorite_projects
9   </h3>
10   <div>
11     <p
12       className="big-spacer-top"
13     >
14       projects.no_favorite_projects.engagement
15     </p>
16     <p
17       className="big-spacer-top"
18     >
19       <Link
20         className="button"
21         onlyActiveOnIndex={false}
22         style={Object {}}
23         to="/projects/all"
24       >
25         projects.explore_projects
26       </Link>
27     </p>
28   </div>
29 </div>
30 `;
31
32 exports[`renders for SonarCloud 1`] = `
33 <div
34   className="projects-empty-list"
35 >
36   <h3>
37     projects.no_favorite_projects
38   </h3>
39   <div
40     className="spacer-top"
41   >
42     <p>
43       projects.no_favorite_projects.how_to_add_projects
44     </p>
45     <div
46       className="huge-spacer-top"
47     >
48       <Button
49         onClick={[MockFunction]}
50       >
51         provisioning.analyze_new_project
52       </Button>
53       <Dropdown
54         className="display-inline-block big-spacer-left"
55         overlay={
56           <ul
57             className="menu"
58           >
59             <OrganizationListItem
60               organization={
61                 Object {
62                   "actions": Object {
63                     "admin": true,
64                   },
65                   "key": "org1",
66                   "name": "org1",
67                   "projectVisibility": "public",
68                 }
69               }
70             />
71             <OrganizationListItem
72               organization={
73                 Object {
74                   "actions": Object {
75                     "admin": false,
76                   },
77                   "key": "org2",
78                   "name": "org2",
79                   "projectVisibility": "public",
80                 }
81               }
82             />
83           </ul>
84         }
85       >
86         <a
87           className="button"
88           href="#"
89         >
90           projects.no_favorite_projects.favorite_projects_from_orgs
91           <DropdownIcon
92             className="little-spacer-left"
93           />
94         </a>
95       </Dropdown>
96       <Link
97         className="button big-spacer-left"
98         onlyActiveOnIndex={false}
99         style={Object {}}
100         to="/explore/projects"
101       >
102         projects.no_favorite_projects.favorite_public_projects
103       </Link>
104     </div>
105   </div>
106 </div>
107 `;