Skip to content

Commit

Permalink
docs: Correct Jest mock import location (#304 by @AdrianMrn)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianMrn authored Mar 10, 2020
1 parent 1a7ba28 commit 168222d
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 @@ -414,7 +414,7 @@ You should then add the following to your Jest setup file to mock the NetInfo Na
```js
import { NativeModules } from 'react-native';
import RNCNetInfoMock from './jest/netinfo-mock.js';
import RNCNetInfoMock from '@react-native-community/netinfo/jest/netinfo-mock.js';

NativeModules.RNCNetInfo = RNCNetInfoMock;
```
Expand Down

0 comments on commit 168222d

Please sign in to comment.