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