]> source.dussan.org Git - sonarqube.git/blob
d3f0165206c588fbf35553c4d9271c6c547c8e7c
[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   <Connect(GlobalNavBranding) />
10   <GlobalNavMenu
11     appState={
12       Object {
13         "canAdmin": false,
14         "globalPages": Array [],
15         "qualifiers": Array [],
16       }
17     }
18     currentUser={
19       Object {
20         "isLoggedIn": false,
21       }
22     }
23     location={
24       Object {
25         "pathname": "",
26       }
27     }
28   />
29   <ul
30     className="global-navbar-menu global-navbar-menu-right"
31   >
32     <EmbedDocsPopupHelper />
33     <withRouter(Search)
34       currentUser={
35         Object {
36           "isLoggedIn": false,
37         }
38       }
39     />
40     <withRouter(GlobalNavUser)
41       currentUser={
42         Object {
43           "isLoggedIn": false,
44         }
45       }
46     />
47   </ul>
48 </NavBar>
49 `;
50
51 exports[`should render correctly: logged in users 1`] = `
52 <NavBar
53   className="navbar-global"
54   height={48}
55   id="global-navigation"
56 >
57   <Connect(GlobalNavBranding) />
58   <GlobalNavMenu
59     appState={
60       Object {
61         "canAdmin": false,
62         "globalPages": Array [],
63         "qualifiers": Array [],
64       }
65     }
66     currentUser={
67       Object {
68         "isLoggedIn": true,
69       }
70     }
71     location={
72       Object {
73         "pathname": "",
74       }
75     }
76   />
77   <ul
78     className="global-navbar-menu global-navbar-menu-right"
79   >
80     <EmbedDocsPopupHelper />
81     <withRouter(Search)
82       currentUser={
83         Object {
84           "isLoggedIn": true,
85         }
86       }
87     />
88     <withRouter(GlobalNavUser)
89       currentUser={
90         Object {
91           "isLoggedIn": true,
92         }
93       }
94     />
95   </ul>
96 </NavBar>
97 `;