Fix unit tests

This commit is contained in:
Chi Vinh Le
2018-07-10 18:51:22 -03:00
parent 358fe97069
commit 186f8e1987
2 changed files with 18 additions and 10 deletions
@@ -3,10 +3,15 @@
exports[`renders username and body 1`] = `
<div
className="Comment-root"
role="article"
>
<Username>
Marvin
</Username>
<div
className="Comment-topBar"
>
<Username>
Marvin
</Username>
</div>
<withPropsOnChange(Typography)>
Woof
</withPropsOnChange(Typography)>
@@ -16,10 +21,15 @@ exports[`renders username and body 1`] = `
exports[`renders with gutterBottom 1`] = `
<div
className="Comment-root Comment-gutterBottom"
role="article"
>
<Username>
Marvin
</Username>
<div
className="Comment-topBar"
>
<Username>
Marvin
</Username>
</div>
<withPropsOnChange(Typography)>
Woof
</withPropsOnChange(Typography)>
@@ -1,11 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders correctly 1`] = `
<withPropsOnChange(Typography)
<span
className="Username-root"
gutterBottom={true}
variant="heading2"
>
Marvin
</withPropsOnChange(Typography)>
</span>
`;