-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Header test calls html() not to have several elements in the sna…
…pshot
- Loading branch information
Showing
2 changed files
with
6 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,96 +1,11 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Header should display children 1`] = ` | ||
Array [ | ||
<div | ||
className="" | ||
> | ||
<div | ||
className="HeaderColor_normal" | ||
> | ||
content | ||
</div> | ||
</div>, | ||
<div | ||
className="HeaderColor_normal" | ||
> | ||
content | ||
</div>, | ||
] | ||
`; | ||
exports[`Header should display children 1`] = `"<div class=\\"\\"><div class=\\"HeaderColor_normal\\">content</div></div>"`; | ||
exports[`Header should extend className 1`] = ` | ||
Array [ | ||
<div | ||
className="" | ||
> | ||
<div | ||
className="HeaderColor_normal noPaddingBottom" | ||
> | ||
content | ||
</div> | ||
</div>, | ||
<div | ||
className="HeaderColor_normal noPaddingBottom" | ||
> | ||
content | ||
</div>, | ||
] | ||
`; | ||
exports[`Header should extend className 1`] = `"<div class=\\"\\"><div class=\\"HeaderColor_normal noPaddingBottom\\">content</div></div>"`; | ||
exports[`Header should set position fixed 1`] = ` | ||
Array [ | ||
<div | ||
className="" | ||
> | ||
<div | ||
className="HeaderColor_normal HeaderFixed" | ||
> | ||
content | ||
</div> | ||
</div>, | ||
<div | ||
className="HeaderColor_normal HeaderFixed" | ||
> | ||
content | ||
</div>, | ||
] | ||
`; | ||
exports[`Header should set position fixed 1`] = `"<div class=\\"\\"><div class=\\"HeaderColor_normal HeaderFixed\\">content</div></div>"`; | ||
exports[`Header should set theme default 1`] = ` | ||
Array [ | ||
<div | ||
className="" | ||
> | ||
<div | ||
className="HeaderColor_normal" | ||
> | ||
content | ||
</div> | ||
</div>, | ||
<div | ||
className="HeaderColor_normal" | ||
> | ||
content | ||
</div>, | ||
] | ||
`; | ||
exports[`Header should set theme default 1`] = `"<div class=\\"\\"><div class=\\"HeaderColor_normal\\">content</div></div>"`; | ||
exports[`Header should set theme inverted 1`] = ` | ||
Array [ | ||
<div | ||
className="styles__CozyTheme--inverted___1ygHa" | ||
> | ||
<div | ||
className="HeaderColor_inverted" | ||
> | ||
content | ||
</div> | ||
</div>, | ||
<div | ||
className="HeaderColor_inverted" | ||
> | ||
content | ||
</div>, | ||
] | ||
`; | ||
exports[`Header should set theme inverted 1`] = `"<div class=\\"styles__CozyTheme--inverted___1ygHa\\"><div class=\\"HeaderColor_inverted\\">content</div></div>"`; |