Skip to content

Commit

Permalink
Fixed typo in TutorialReactNative.md (#1735)
Browse files Browse the repository at this point in the history
  • Loading branch information
bganicky authored and cpojer committed Sep 20, 2016
1 parent 4247e28 commit 73e513c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/TutorialReactNative.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ The [`moduleNameMapper`](api.html#modulenamemapper-object-string-string) can be

The jest-react-native preset comes with a few default mocks that are applied on a react-native repository. However some react-native components or third party components rely on native code to be rendered. In such cases, Jest's manual mocking system can help to mock out the underlying implementation.

For example, if you code depends on a third party native video component called `react-native-video` you might want to stub it out with a manual mock like this:
For example, if your code depends on a third party native video component called `react-native-video` you might want to stub it out with a manual mock like this:

```js
jest.mock('react-native-video', () => 'Video');
Expand Down

0 comments on commit 73e513c

Please sign in to comment.