]> source.dussan.org Git - sonarqube.git/blob
a6e536843001fbb05bf1ec4043775491ac145a52
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: anonymous users 1`] = `
4 <NavBar
5   className="navbar-global"
6   height={48}
7   id="global-navigation"
8 >
9   <withAppStateContext(GlobalNavBranding) />
10   <withAppStateContext(GlobalNavMenu)
11     currentUser={
12       Object {
13         "dismissedNotices": Object {},
14         "isLoggedIn": false,
15       }
16     }
17     location={
18       Object {
19         "pathname": "",
20       }
21     }
22   />
23   <ul
24     className="global-navbar-menu global-navbar-menu-right"
25   >
26     <EmbedDocsPopupHelper />
27     <withRouter(Search) />
28     <withRouter(GlobalNavUser)
29       currentUser={
30         Object {
31           "dismissedNotices": Object {},
32           "isLoggedIn": false,
33         }
34       }
35     />
36   </ul>
37 </NavBar>
38 `;
39
40 exports[`should render correctly: logged in users 1`] = `
41 <NavBar
42   className="navbar-global"
43   height={48}
44   id="global-navigation"
45 >
46   <withAppStateContext(GlobalNavBranding) />
47   <withAppStateContext(GlobalNavMenu)
48     currentUser={
49       Object {
50         "isLoggedIn": true,
51       }
52     }
53     location={
54       Object {
55         "pathname": "",
56       }
57     }
58   />
59   <ul
60     className="global-navbar-menu global-navbar-menu-right"
61   >
62     <EmbedDocsPopupHelper />
63     <withRouter(Search) />
64     <withRouter(GlobalNavUser)
65       currentUser={
66         Object {
67           "isLoggedIn": true,
68         }
69       }
70     />
71   </ul>
72 </NavBar>
73 `;