Update snapshots

This commit is contained in:
Chi Vinh Le
2018-08-27 20:50:46 +02:00
parent 17563824fd
commit 5381b75a49
9 changed files with 90 additions and 130 deletions
@@ -2,28 +2,20 @@
exports[`renders correctly on big screens 1`] = `
<div
className="Flex-root TopBar-root"
className="Flex-root TopBar-root Flex-flex Flex-itemGutter Flex-alignBaseline Flex-directionRow"
>
<div
className="Flex-flex Flex-itemGutter Flex-wrap Flex-alignBaseline Flex-directionRow"
>
<div>
Hello World
</div>
<div>
Hello World
</div>
</div>
`;
exports[`renders correctly on small screens 1`] = `
<div
className="Flex-root TopBar-root"
className="Flex-root TopBar-root Flex-flex Flex-halfItemGutter Flex-alignBaseline Flex-directionColumn"
>
<div
className="Flex-flex Flex-halfItemGutter Flex-wrap Flex-alignBaseline Flex-directionColumn"
>
<div>
Hello World
</div>
<div>
Hello World
</div>
</div>
`;
@@ -2,10 +2,8 @@
exports[`renders correctly 1`] = `
<Indent>
<withPropsOnChange(Flex)
direction="column"
<withPropsOnChange(HorizontalGutter)
id="talk-comments-replyList-log--comment-id"
itemGutter={true}
role="log"
>
<Relay(CommentContainer)
@@ -24,16 +22,14 @@ exports[`renders correctly 1`] = `
}
key="comment-2"
/>
</withPropsOnChange(Flex)>
</withPropsOnChange(HorizontalGutter)>
</Indent>
`;
exports[`when there is more disables load more button 1`] = `
<Indent>
<withPropsOnChange(Flex)
direction="column"
<withPropsOnChange(HorizontalGutter)
id="talk-comments-replyList-log--comment-id"
itemGutter={true}
role="log"
>
<Relay(CommentContainer)
@@ -66,16 +62,14 @@ exports[`when there is more disables load more button 1`] = `
Show All Replies
</withPropsOnChange(Button)>
</Localized>
</withPropsOnChange(Flex)>
</withPropsOnChange(HorizontalGutter)>
</Indent>
`;
exports[`when there is more renders a load more button 1`] = `
<Indent>
<withPropsOnChange(Flex)
direction="column"
<withPropsOnChange(HorizontalGutter)
id="talk-comments-replyList-log--comment-id"
itemGutter={true}
role="log"
>
<Relay(CommentContainer)
@@ -108,6 +102,6 @@ exports[`when there is more renders a load more button 1`] = `
Show All Replies
</withPropsOnChange(Button)>
</Localized>
</withPropsOnChange(Flex)>
</withPropsOnChange(HorizontalGutter)>
</Indent>
`;
@@ -1,26 +1,22 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders correctly 1`] = `
<withPropsOnChange(Flex)
<withPropsOnChange(HorizontalGutter)
className="Stream-root"
direction="column"
itemGutter={true}
size="double"
>
<withContext(createMutationContainer(withContext(createMutationContainer(withContext(withLocalStateContainer(UserBoxContainer)))))) />
<withContext(createMutationContainer(PostCommentFormContainer))
assetID="asset-id"
signedIn={false}
/>
<withPropsOnChange(Flex)
<withPropsOnChange(HorizontalGutter)
size="half"
>
<withContext(createMutationContainer(withContext(createMutationContainer(withContext(createMutationContainer(withContext(withLocalStateContainer(Relay(UserBoxContainer))))))))) />
<PostCommentFormFake />
</withPropsOnChange(HorizontalGutter)>
<withPropsOnChange(HorizontalGutter)
aria-live="polite"
direction="column"
id="talk-comments-stream-log"
itemGutter={true}
role="log"
>
<withPropsOnChange(Flex)
direction="column"
itemGutter={true}
<withPropsOnChange(HorizontalGutter)
key="comment-1"
>
<Relay(CommentContainer)
@@ -37,10 +33,8 @@ exports[`renders correctly 1`] = `
}
}
/>
</withPropsOnChange(Flex)>
<withPropsOnChange(Flex)
direction="column"
itemGutter={true}
</withPropsOnChange(HorizontalGutter)>
<withPropsOnChange(HorizontalGutter)
key="comment-2"
>
<Relay(CommentContainer)
@@ -57,32 +51,28 @@ exports[`renders correctly 1`] = `
}
}
/>
</withPropsOnChange(Flex)>
</withPropsOnChange(Flex)>
</withPropsOnChange(Flex)>
</withPropsOnChange(HorizontalGutter)>
</withPropsOnChange(HorizontalGutter)>
</withPropsOnChange(HorizontalGutter)>
`;
exports[`when there is more disables load more button 1`] = `
<withPropsOnChange(Flex)
<withPropsOnChange(HorizontalGutter)
className="Stream-root"
direction="column"
itemGutter={true}
size="double"
>
<withContext(createMutationContainer(withContext(createMutationContainer(withContext(withLocalStateContainer(UserBoxContainer)))))) />
<withContext(createMutationContainer(PostCommentFormContainer))
assetID="asset-id"
signedIn={false}
/>
<withPropsOnChange(Flex)
<withPropsOnChange(HorizontalGutter)
size="half"
>
<withContext(createMutationContainer(withContext(createMutationContainer(withContext(createMutationContainer(withContext(withLocalStateContainer(Relay(UserBoxContainer))))))))) />
<PostCommentFormFake />
</withPropsOnChange(HorizontalGutter)>
<withPropsOnChange(HorizontalGutter)
aria-live="polite"
direction="column"
id="talk-comments-stream-log"
itemGutter={true}
role="log"
>
<withPropsOnChange(Flex)
direction="column"
itemGutter={true}
<withPropsOnChange(HorizontalGutter)
key="comment-1"
>
<Relay(CommentContainer)
@@ -99,10 +89,8 @@ exports[`when there is more disables load more button 1`] = `
}
}
/>
</withPropsOnChange(Flex)>
<withPropsOnChange(Flex)
direction="column"
itemGutter={true}
</withPropsOnChange(HorizontalGutter)>
<withPropsOnChange(HorizontalGutter)
key="comment-2"
>
<Relay(CommentContainer)
@@ -119,7 +107,7 @@ exports[`when there is more disables load more button 1`] = `
}
}
/>
</withPropsOnChange(Flex)>
</withPropsOnChange(HorizontalGutter)>
<Localized
id="comments-stream-loadMore"
>
@@ -134,31 +122,27 @@ exports[`when there is more disables load more button 1`] = `
Load More
</withPropsOnChange(Button)>
</Localized>
</withPropsOnChange(Flex)>
</withPropsOnChange(Flex)>
</withPropsOnChange(HorizontalGutter)>
</withPropsOnChange(HorizontalGutter)>
`;
exports[`when there is more renders a load more button 1`] = `
<withPropsOnChange(Flex)
<withPropsOnChange(HorizontalGutter)
className="Stream-root"
direction="column"
itemGutter={true}
size="double"
>
<withContext(createMutationContainer(withContext(createMutationContainer(withContext(withLocalStateContainer(UserBoxContainer)))))) />
<withContext(createMutationContainer(PostCommentFormContainer))
assetID="asset-id"
signedIn={false}
/>
<withPropsOnChange(Flex)
<withPropsOnChange(HorizontalGutter)
size="half"
>
<withContext(createMutationContainer(withContext(createMutationContainer(withContext(createMutationContainer(withContext(withLocalStateContainer(Relay(UserBoxContainer))))))))) />
<PostCommentFormFake />
</withPropsOnChange(HorizontalGutter)>
<withPropsOnChange(HorizontalGutter)
aria-live="polite"
direction="column"
id="talk-comments-stream-log"
itemGutter={true}
role="log"
>
<withPropsOnChange(Flex)
direction="column"
itemGutter={true}
<withPropsOnChange(HorizontalGutter)
key="comment-1"
>
<Relay(CommentContainer)
@@ -175,10 +159,8 @@ exports[`when there is more renders a load more button 1`] = `
}
}
/>
</withPropsOnChange(Flex)>
<withPropsOnChange(Flex)
direction="column"
itemGutter={true}
</withPropsOnChange(HorizontalGutter)>
<withPropsOnChange(HorizontalGutter)
key="comment-2"
>
<Relay(CommentContainer)
@@ -195,7 +177,7 @@ exports[`when there is more renders a load more button 1`] = `
}
}
/>
</withPropsOnChange(Flex)>
</withPropsOnChange(HorizontalGutter)>
<Localized
id="comments-stream-loadMore"
>
@@ -210,6 +192,6 @@ exports[`when there is more renders a load more button 1`] = `
Load More
</withPropsOnChange(Button)>
</Localized>
</withPropsOnChange(Flex)>
</withPropsOnChange(Flex)>
</withPropsOnChange(HorizontalGutter)>
</withPropsOnChange(HorizontalGutter)>
`;
@@ -2,6 +2,7 @@
exports[`renders correctly 1`] = `
<withPropsOnChange(Flex)
alignItems="center"
itemGutter={true}
>
<MatchMediaWithContext
@@ -12,14 +13,14 @@ exports[`renders correctly 1`] = `
>
<withPropsOnChange(Typography)
className="UserBoxUnauthenticated-joinText"
component="span"
container="span"
variant="bodyCopyBold"
>
Join the conversation
</withPropsOnChange(Typography)>
</Localized>
<withPropsOnChange(Typography)
component="span"
container="span"
variant="bodyCopyBold"
>
|