Skip to content

Commit

Permalink
Fixed typo in TutorialReactNative.md (jestjs#1735)
Browse files Browse the repository at this point in the history
  • Loading branch information
bganicky authored and mthmulders committed Sep 26, 2016
1 parent ce898fc commit 0f8144f
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 0f8144f

Please sign in to comment.