Files
iNaturalistReactNative/__mocks__/react-native-orientation-locker.ts
Amanda Bullington c6a09a2a8c Refactor to begin simplifying device orientation/rotation code (#2422)
* Refactor useDeviceOrientation to remove extra useEffects

* Rotation code cleanup

* Update mock with useDeviceOrientationChange
2024-11-13 16:24:08 -08:00

7 lines
144 B
TypeScript

export const useDeviceOrientationChange = jest.fn();
export default ( {
lockToPortrait: jest.fn( ),
unlockAllOrientations: jest.fn( )
} );