Merge pull request #1358 from mercedesb/patch-1

Updated accessing a single prop's value
This commit is contained in:
Rico Sta. Cruz 2020-02-13 21:49:25 +11:00 committed by GitHub
commit f58b5070c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ wrap.setState({ show: true })
#### Asserting #### Asserting
```js ```js
expect(wrap.props('name')).toEqual('Moe') expect(wrap.prop('name')).toEqual('Moe')
expect(wrap.state('show')).toEqual(true) expect(wrap.state('show')).toEqual(true)
``` ```