Update enzyme.md

This commit is contained in:
Omar Bourhaouta 2019-12-24 10:43:42 +01:00 committed by GitHub
parent b78de6b210
commit c9cde14fef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ expect(wrap.state('show')).toEqual(true)
```
```js
expect('name' in wrap.props()).toEqual(true)
expect('name' in wrap.props()).toEqual('Moe')
expect('show' in wrap.state()).toEqual(true)
```