Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Commit

Permalink
Merge pull request #205 from vkrol/patch-1
Browse files Browse the repository at this point in the history
Fix small typos in README.MD
  • Loading branch information
mattruby committed Feb 16, 2017
2 parents 20bdcb3 + 537fed0 commit ac9ff41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -340,7 +340,7 @@ Make sure to mark `userStore` as optional property. It should not (necessarily)

#### Testing store injection

It is allowed to pass any declared stored in directly as property as well. This makes it easy to set up individual component tests without a provider.
It is allowed to pass any declared store in directly as property as well. This makes it easy to set up individual component tests without a provider.

So if you have in your app something like:
```javascript
Expand All @@ -358,7 +358,7 @@ const mountedComponent = mount(
```

Bear in mind that using shallow rendering won't provide any useful results when testing injected components; only the injector will be rendered.
To test with shallow rendering, instantiate the `.wrappedComponent instead:`: `shallow(<Person.wrappedComponent />)`
To test with shallow rendering, instantiate the `wrappedComponent` instead: `shallow(<Person.wrappedComponent />)`

## FAQ

Expand Down

0 comments on commit ac9ff41

Please sign in to comment.