Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Polyfill the requestAnimationFrame for react-dom and properly test th…
…at the snapshots are actually shallow
- Loading branch information
1 parent
325cea6
commit 0a2c433
Showing
5 changed files
with
37 additions
and
2 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
13 changes: 13 additions & 0 deletions
13
.../jest-plugin-it-shallow-renders/src/__tests__/__snapshots__/itShallowRenders.spec.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 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`itShallowRenders Text shallow renders snapshot 1`] = ` | ||
<View> | ||
<div /> | ||
</View> | ||
`; | ||
|
||
exports[`itShallowRenders View shallow renders snapshot 1`] = ` | ||
<div> | ||
<div /> | ||
</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