]> source.dussan.org Git - sonarqube.git/blob
de81a2b9674d8237e50e98e67fb927a9396302fe
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render the right interface for anonymous user 1`] = `
4 <div>
5   <a
6     className="navbar-login"
7     href="/sessions/new"
8     onClick={[Function]}
9   >
10     layout.login
11   </a>
12 </div>
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 >
55   <a
56     className="dropdown-toggle navbar-avatar"
57     href="#"
58     title="Skywalker"
59   >
60     <withAppStateContext(Avatar)
61       name="Skywalker"
62       size={32}
63     />
64   </a>
65 </Dropdown>
66 `;