This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add storyshot * fix lint * run storyshots for testing components * add test watch mode for storyshots * Add command to update tests * remove old snapshot files * remove old test files * remove jest dependencies * update readme to reflect changes in testing
- Loading branch information
Showing
25 changed files
with
368 additions
and
705 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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
exports[`Default`] = ` | ||
<button | ||
className=""> | ||
Button text | ||
</button> | ||
`; | ||
|
||
exports[`borderless`] = ` | ||
<button | ||
className=" "> | ||
Button text | ||
</button> | ||
`; | ||
|
||
exports[`error`] = ` | ||
<button | ||
className=" "> | ||
An error button | ||
</button> | ||
`; | ||
|
||
exports[`inApp`] = ` | ||
<button | ||
className=" "> | ||
Button text | ||
</button> | ||
`; | ||
|
||
exports[`secondary`] = ` | ||
<button | ||
className=" "> | ||
Button text | ||
</button> | ||
`; | ||
|
||
exports[`small`] = ` | ||
<button | ||
className=" "> | ||
Button text | ||
</button> | ||
`; | ||
|
||
exports[`tertiary`] = ` | ||
<button | ||
className=" "> | ||
Button text | ||
</button> | ||
`; |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
exports[`Default`] = ` | ||
<div | ||
className=""> | ||
A Regular Old Card | ||
</div> | ||
`; | ||
|
||
exports[`doublePadding`] = ` | ||
<div | ||
className=" "> | ||
A Card With Extra Padding | ||
</div> | ||
`; | ||
|
||
exports[`empty`] = ` | ||
<div | ||
className=" "> | ||
An Empty Old Card | ||
</div> | ||
`; | ||
|
||
exports[`noBorder`] = ` | ||
<div | ||
className=" "> | ||
A Borderless Old Card | ||
</div> | ||
`; | ||
|
||
exports[`noPadding`] = ` | ||
<div | ||
className=" "> | ||
A Card With No Padding | ||
</div> | ||
`; |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
exports[`Default`] = ` | ||
<img | ||
alt="Image" | ||
height={undefined} | ||
src="https://buffer.com/images/app/[email protected]" | ||
width={undefined} /> | ||
`; | ||
|
||
exports[`W=100%`] = ` | ||
<img | ||
alt="Image" | ||
height={undefined} | ||
src="https://buffer.com/images/app/[email protected]" | ||
width="100%" /> | ||
`; | ||
|
||
exports[`W=200px H=40px`] = ` | ||
<img | ||
alt="Image" | ||
height="40px" | ||
src="https://buffer.com/images/app/[email protected]" | ||
width="200px" /> | ||
`; |
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
Oops, something went wrong.