]> source.dussan.org Git - sonarqube.git/blob
40956326a7d80f85a6bdf349d6eba9a611e22b2a
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render the right interface for anonymous user 1`] = `
4 <li>
5   <a
6     className="navbar-login"
7     href="/sessions/new"
8     onClick={[Function]}
9   >
10     layout.login
11   </a>
12 </li>
13 `;
14
15 exports[`should render the right interface for logged in user 1`] = `
16 <Dropdown
17   className="js-user-authenticated"
18   overlay={
19     <ul
20       className="menu"
21     >
22       <li
23         className="menu-item"
24       >
25         <div
26           className="text-ellipsis text-muted"
27           title="Skywalker"
28         >
29           <strong>
30             Skywalker
31           </strong>
32         </div>
33       </li>
34       <li
35         className="divider"
36       />
37       <li>
38         <Link
39           to="/account"
40         >
41           my_account.page
42         </Link>
43       </li>
44       <li>
45         <a
46           href="#"
47           onClick={[Function]}
48         >
49           layout.logout
50         </a>
51       </li>
52     </ul>
53   }
54   tagName="li"
55 >
56   <a
57     className="dropdown-toggle navbar-avatar"
58     href="#"
59     title="Skywalker"
60   >
61     <withAppStateContext(Avatar)
62       name="Skywalker"
63       size={32}
64     />
65   </a>
66 </Dropdown>
67 `;