8 lines
184 B
JavaScript
8 lines
184 B
JavaScript
/* global jest: true */
|
|
|
|
jest.mock('@react-native-community/netinfo', () => ({
|
|
getConnectionInfo: () => Promise.resolve(),
|
|
addEventListener: jest.fn(),
|
|
isConnected: jest.fn(),
|
|
}));
|