Skip to content

Commit

Permalink
Spellchecks
Browse files Browse the repository at this point in the history
  • Loading branch information
piranna authored Nov 28, 2017
1 parent 25f8a65 commit c6278f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ require('react-native-mock-render/mock'); // <-- side-effects!!!

### Jest

Jest [don't support](https://github.com/Root-App/react-native-mock-render/issues/23) `require.cache`, so the correct way to do the mocking is using `jest.mock('react-native', () => require('react-native-mock-render'), {virtual: true})` at your tests setup file.
Jest [doesn't support](https://github.com/Root-App/react-native-mock-render/issues/23) `require.cache`, so the correct way to do the mocking is using `jest.mock('react-native', () => require('react-native-mock-render'), {virtual: true})` in your tests setup file.

## Why?

Expand Down

0 comments on commit c6278f5

Please sign in to comment.