]> source.dussan.org Git - sonarqube.git/blob
b99134f2cedeabe38f6b2c6b04a7a994608e2f5b
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render for SonarCloud 1`] = `
4 <NavBar
5   className="navbar-global"
6   height={48}
7   id="global-navigation"
8 >
9   <SonarCloudNavBranding />
10   <GlobalNavMenu
11     appState={
12       Object {
13         "canAdmin": false,
14         "globalPages": Array [],
15         "organizationsEnabled": false,
16         "qualifiers": Array [],
17       }
18     }
19     currentUser={
20       Object {
21         "isLoggedIn": false,
22       }
23     }
24     location={
25       Object {
26         "pathname": "",
27       }
28     }
29   />
30   <ul
31     className="global-navbar-menu global-navbar-menu-right"
32   >
33     <Connect(GlobalNavNotifications) />
34     <GlobalNavExplore
35       location={
36         Object {
37           "pathname": "",
38         }
39       }
40     />
41     <EmbedDocsPopupHelper />
42     <withRouter(Search)
43       appState={
44         Object {
45           "canAdmin": false,
46           "globalPages": Array [],
47           "organizationsEnabled": false,
48           "qualifiers": Array [],
49         }
50       }
51       currentUser={
52         Object {
53           "isLoggedIn": false,
54         }
55       }
56     />
57     <Connect(withRouter(GlobalNavUser))
58       appState={
59         Object {
60           "canAdmin": false,
61           "globalPages": Array [],
62           "organizationsEnabled": false,
63           "qualifiers": Array [],
64         }
65       }
66       currentUser={
67         Object {
68           "isLoggedIn": false,
69         }
70       }
71     />
72   </ul>
73 </NavBar>
74 `;
75
76 exports[`should render for SonarQube 1`] = `
77 <NavBar
78   className="navbar-global"
79   height={48}
80   id="global-navigation"
81 >
82   <Connect(GlobalNavBranding) />
83   <GlobalNavMenu
84     appState={
85       Object {
86         "canAdmin": false,
87         "globalPages": Array [],
88         "organizationsEnabled": false,
89         "qualifiers": Array [],
90       }
91     }
92     currentUser={
93       Object {
94         "isLoggedIn": false,
95       }
96     }
97     location={
98       Object {
99         "pathname": "",
100       }
101     }
102   />
103   <ul
104     className="global-navbar-menu global-navbar-menu-right"
105   >
106     <EmbedDocsPopupHelper />
107     <withRouter(Search)
108       appState={
109         Object {
110           "canAdmin": false,
111           "globalPages": Array [],
112           "organizationsEnabled": false,
113           "qualifiers": Array [],
114         }
115       }
116       currentUser={
117         Object {
118           "isLoggedIn": false,
119         }
120       }
121     />
122     <Connect(withRouter(GlobalNavUser))
123       appState={
124         Object {
125           "canAdmin": false,
126           "globalPages": Array [],
127           "organizationsEnabled": false,
128           "qualifiers": Array [],
129         }
130       }
131       currentUser={
132         Object {
133           "isLoggedIn": false,
134         }
135       }
136     />
137   </ul>
138 </NavBar>
139 `;