Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add jest snapshoting without addon side effects
- Loading branch information
Marie-Laure Thuret
committed
Aug 21, 2016
1 parent
9c9ac10
commit 6378604
Showing
4 changed files
with
26 additions
and
17 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
13 changes: 13 additions & 0 deletions
13
.storybook/__tests__/__snapshots__/sample.ci.jest.stories.js.snap
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,13 @@ | ||
exports[`test Hello Earth 1`] = ` | ||
<button | ||
onClick={undefined}> | ||
Hello Earth | ||
</button> | ||
`; | ||
|
||
exports[`test Hello World 1`] = ` | ||
<button | ||
onClick={undefined}> | ||
Hello World | ||
</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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.