mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-06-22 22:49:01 -04:00
* Get a few mocks working in __mocks__ folder * Move more mocks into __mocks__ * Move mocks * Move zustand mock * Add more mocks to __mocks__ * More mocks * Move more files to __mocks__ and audit existing mocks * Mock react navigation in __mocks__ * Restore test to help with imports after jest env torn down * Add fake timer to integration test with userEvent * Add RN paper mock
12 lines
345 B
TypeScript
12 lines
345 B
TypeScript
export default ( {
|
|
addDeviceOrientationListener: jest.fn( ),
|
|
addEventListener: jest.fn( ),
|
|
getDeviceOrientation: jest.fn( ),
|
|
getInitialOrientation: jest.fn( ),
|
|
getOrientation: jest.fn( ),
|
|
lockToPortrait: jest.fn( ),
|
|
removeEventListener: jest.fn( ),
|
|
removeOrientationListener: jest.fn( ),
|
|
unlockAllOrientations: jest.fn( )
|
|
} );
|