Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
feat: update jest snapshots
Browse files Browse the repository at this point in the history
feat: update jest snapshots
  • Loading branch information
Metnew committed Oct 16, 2017
1 parent 283e9a8 commit e39d11d
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 85 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Footer component same snapshot 1`] = `
<styled.footer>
<styled.div>
<style__StyledFooter>
<style__StyledFooterInner>
<Grid
relaxed={true}
>
Expand All @@ -14,7 +14,7 @@ exports[`Footer component same snapshot 1`] = `
width={12}
>
<a
href="https://github.com/Metnew/react-semantic.ui-starter"
href="https://github.com/Metnew/noir"
>
<Header
as="h3"
Expand All @@ -27,14 +27,18 @@ exports[`Footer component same snapshot 1`] = `
<HeaderContent>
Noir
<HeaderSubheader>
Semantic.UI is cool, really.
Starter for
<s>
blade
</s>
bleeding-edge runners
</HeaderSubheader>
</HeaderContent>
</Header>
</a>
</GridColumn>
</GridRow>
</Grid>
</styled.div>
</styled.footer>
</style__StyledFooterInner>
</style__StyledFooter>
`;
Original file line number Diff line number Diff line change
@@ -1,49 +1,26 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Header component same snapshot at Dashboard on non-mobile screen 1`] = `
<styled.header>
<styled.div>
<styled.span>
Dashboard
</styled.span>
<styled.span />
<Popup
content={
<FormattedMessage
defaultMessage="Hello {name}"
id="Header.Popup.HeaderButton"
values={
Object {
"name": <b>
user
</b>,
}
}
/>
}
inverted={true}
on="hover"
position="top left"
trigger={
<Styled(Button)
aria-label="github-header-link-button"
as="a"
basic={true}
circular={true}
href="https://github.com/Metnew/react-semantic.ui-starter"
icon={true}
id="header-button"
>
<Icon
as="i"
fitted={true}
link={true}
name="github"
size="large"
/>
</Styled(Button)>
}
/>
</styled.div>
</styled.header>
<Headroom
calcHeightOnResize={true}
disable={false}
disableInlineStyles={false}
downTolerance={0}
onPin={[Function]}
onUnfix={[Function]}
onUnpin={[Function]}
parent={[Function]}
pinStart={0}
upTolerance={5}
wrapperStyle={Object {}}
>
<style__StyledHeader>
<style__HeaderInner>
<style__PageTitle>
Dashboard
</style__PageTitle>
<base__Spacer />
</style__HeaderInner>
</style__StyledHeader>
</Headroom>
`;
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Sidebar component same snapshot if Sidebar is open and it is on mobile screen 1`] = `
<Styled(Sidebar)
<style__StyledSidebar
animation="push"
as={[Function]}
icon="labeled"
vertical={true}
visible={true}
width="thin"
>
<styled.a
href="https://github.com/Metnew/react-semantic.ui-starter"
<style__SidebarLogoContainer
href="https://github.com/Metnew/noir"
>
<Styled(Logo)
<style__SidebarLogo
alt="logo"
centered={true}
shape="circular"
/>
</styled.a>
<Styled(MenuItem)
</style__SidebarLogoContainer>
<style__SidebarItem
activeClassName="active"
as={[Function]}
exact={true}
icon={true}
key="0"
link={true}
to="/"
>
Expand All @@ -32,26 +33,28 @@ exports[`Sidebar component same snapshot if Sidebar is open and it is on mobile
/>
Dashboard
</Styled(MenuItem)>
<Styled(MenuItem)
</style__SidebarItem>
<style__SidebarItem
activeClassName="active"
as={[Function]}
exact={true}
icon={true}
key="1"
link={true}
to="/users"
to="/links"
>
<Icon
as="i"
name="users"
name="bookmark"
/>
Users
</Styled(MenuItem)>
<Styled(MenuItem)
Links
</style__SidebarItem>
<style__SidebarItem
as="a"
href="https://github.com/Metnew/react-semantic.ui-starter"
icon={true}
key="2"
link={true}
>
<Icon
Expand All @@ -60,11 +63,12 @@ exports[`Sidebar component same snapshot if Sidebar is open and it is on mobile
/>
Github
</Styled(MenuItem)>
<Styled(MenuItem)
</style__SidebarItem>
<style__SidebarItem
activeClassName="active"
as={[Function]}
icon={true}
key="3"
link={true}
to="/auth"
>
Expand All @@ -73,30 +77,16 @@ exports[`Sidebar component same snapshot if Sidebar is open and it is on mobile
/>
Auth
</Styled(MenuItem)>
<Styled(MenuItem)
activeClassName="active"
as={[Function]}
exact={true}
icon={true}
link={true}
to="/users/:id"
>
<Icon
as="i"
/>
User
</Styled(MenuItem)>
<styled.span />
<Styled(MenuItem)
</style__SidebarItem>
<base__Spacer />
<style__SidebarLogoutItem
onClick={[Function]}
>
<Icon
as="i"
name="sign out"
/>
Logout
</Styled(MenuItem)>
</Styled(Sidebar)>
</style__SidebarLogoutItem>
</style__StyledSidebar>
`;

0 comments on commit e39d11d

Please sign in to comment.