Created
August 9, 2019 10:51
-
-
Save marlo22/042fcacb5bf11d4b1184c6fc87212048 to your computer and use it in GitHub Desktop.
Enzyme wrappers
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
// Jest Snapshot v1, https://goo.gl/fbAQLP | |
exports[`App snapshot 1`] = ` | |
<App> | |
<div | |
className="app" | |
> | |
<Counter | |
onDecrement={[Function]} | |
onIncrement={[Function]} | |
> | |
<button | |
disabled={true} | |
onClick={[Function]} | |
> | |
- | |
</button> | |
<span> | |
0 | |
</span> | |
<button | |
onClick={[Function]} | |
> | |
+ | |
</button> | |
<ReactLogo | |
visible={false} | |
> | |
<div | |
style={ | |
Object { | |
"display": "none", | |
"textAlign": "center", | |
"width": "100%", | |
} | |
} | |
> | |
<img | |
alt="React logo" | |
src="logo.svg" | |
width={100} | |
/> | |
</div> | |
</ReactLogo> | |
</Counter> | |
</div> | |
</App> | |
`; |
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
// Jest Snapshot v1, https://goo.gl/fbAQLP | |
exports[`App snapshot 1`] = ` | |
<div | |
className="app" | |
> | |
<Counter | |
onDecrement={[Function]} | |
onIncrement={[Function]} | |
/> | |
</div> | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment