mirror of
https://github.com/wassname/talk.git
synced 2026-07-04 07:36:00 +08:00
Fix unit tests
This commit is contained in:
@@ -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>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user