1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
-
- exports[`should render correctly: anonymous users 1`] = `
- <NavBar
- className="navbar-global"
- height={48}
- id="global-navigation"
- >
- <withAppStateContext(GlobalNavBranding) />
- <withAppStateContext(GlobalNavMenu)
- currentUser={
- Object {
- "isLoggedIn": false,
- }
- }
- location={
- Object {
- "pathname": "",
- }
- }
- />
- <ul
- className="global-navbar-menu global-navbar-menu-right"
- >
- <EmbedDocsPopupHelper />
- <withRouter(Search)
- currentUser={
- Object {
- "isLoggedIn": false,
- }
- }
- />
- <withRouter(GlobalNavUser)
- currentUser={
- Object {
- "isLoggedIn": false,
- }
- }
- />
- </ul>
- </NavBar>
- `;
-
- exports[`should render correctly: logged in users 1`] = `
- <NavBar
- className="navbar-global"
- height={48}
- id="global-navigation"
- >
- <withAppStateContext(GlobalNavBranding) />
- <withAppStateContext(GlobalNavMenu)
- currentUser={
- Object {
- "isLoggedIn": true,
- }
- }
- location={
- Object {
- "pathname": "",
- }
- }
- />
- <ul
- className="global-navbar-menu global-navbar-menu-right"
- >
- <EmbedDocsPopupHelper />
- <withRouter(Search)
- currentUser={
- Object {
- "isLoggedIn": true,
- }
- }
- />
- <withRouter(GlobalNavUser)
- currentUser={
- Object {
- "isLoggedIn": true,
- }
- }
- />
- </ul>
- </NavBar>
- `;
|