]> source.dussan.org Git - sonarqube.git/blob
62c2757d57b4d3b0a779b37a110f90d751ac8404
[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     suggestions={Array []}
30   />
31   <ul
32     className="global-navbar-menu global-navbar-menu-right"
33   >
34     <GlobalNavExplore
35       location={
36         Object {
37           "pathname": "",
38         }
39       }
40     />
41     <EmbedDocsPopupHelper
42       suggestions={Array []}
43     />
44     <withRouter(Search)
45       appState={
46         Object {
47           "canAdmin": false,
48           "globalPages": Array [],
49           "organizationsEnabled": false,
50           "qualifiers": Array [],
51         }
52       }
53       currentUser={
54         Object {
55           "isLoggedIn": false,
56         }
57       }
58     />
59     <Connect(GlobalNavUser)
60       appState={
61         Object {
62           "canAdmin": false,
63           "globalPages": Array [],
64           "organizationsEnabled": false,
65           "qualifiers": Array [],
66         }
67       }
68       currentUser={
69         Object {
70           "isLoggedIn": false,
71         }
72       }
73       location={
74         Object {
75           "pathname": "",
76         }
77       }
78       suggestions={Array []}
79     />
80   </ul>
81 </NavBar>
82 `;
83
84 exports[`should render for SonarQube 1`] = `
85 <NavBar
86   className="navbar-global"
87   height={48}
88   id="global-navigation"
89 >
90   <Connect(GlobalNavBranding) />
91   <GlobalNavMenu
92     appState={
93       Object {
94         "canAdmin": false,
95         "globalPages": Array [],
96         "organizationsEnabled": false,
97         "qualifiers": Array [],
98       }
99     }
100     currentUser={
101       Object {
102         "isLoggedIn": false,
103       }
104     }
105     location={
106       Object {
107         "pathname": "",
108       }
109     }
110     suggestions={Array []}
111   />
112   <ul
113     className="global-navbar-menu global-navbar-menu-right"
114   >
115     <EmbedDocsPopupHelper
116       suggestions={Array []}
117     />
118     <withRouter(Search)
119       appState={
120         Object {
121           "canAdmin": false,
122           "globalPages": Array [],
123           "organizationsEnabled": false,
124           "qualifiers": Array [],
125         }
126       }
127       currentUser={
128         Object {
129           "isLoggedIn": false,
130         }
131       }
132     />
133     <Connect(GlobalNavUser)
134       appState={
135         Object {
136           "canAdmin": false,
137           "globalPages": Array [],
138           "organizationsEnabled": false,
139           "qualifiers": Array [],
140         }
141       }
142       currentUser={
143         Object {
144           "isLoggedIn": false,
145         }
146       }
147       location={
148         Object {
149           "pathname": "",
150         }
151       }
152       suggestions={Array []}
153     />
154   </ul>
155 </NavBar>
156 `;