mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
update more tests and snapshots
This commit is contained in:
@@ -11,14 +11,6 @@ import faker from "tests/helpers/faker";
|
||||
import { renderComponent } from "tests/helpers/render";
|
||||
import setStoreStateLayout from "tests/helpers/setStoreStateLayout";
|
||||
|
||||
jest.mock( "@react-navigation/drawer", ( ) => {
|
||||
const actualNav = jest.requireActual( "@react-navigation/drawer" );
|
||||
return {
|
||||
...actualNav,
|
||||
useDrawerStatus: jest.fn( ( ) => false )
|
||||
};
|
||||
} );
|
||||
|
||||
const initialPersistedStoreState = useStore.getState( );
|
||||
|
||||
const mockUser = factory( "LocalUser", {
|
||||
|
||||
@@ -122,7 +122,7 @@ exports[`CustomTabBar with advanced user layout should render correctly 1`] = `
|
||||
],
|
||||
]
|
||||
}
|
||||
testID="OPEN_DRAWER"
|
||||
testID="OPEN_MENU"
|
||||
>
|
||||
<View
|
||||
style={
|
||||
|
||||
Reference in New Issue
Block a user