mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
added some test ids
This commit is contained in:
@@ -9,7 +9,7 @@ import { eClearSearch } from '../../services/events';
|
||||
import NavigationService from '../../services/NavigationService';
|
||||
import { PressableButton } from '../PressableButton';
|
||||
|
||||
export const MenuListItem = ({item, index, noTextMode, ignore}) => {
|
||||
export const MenuListItem = ({item, index, noTextMode, ignore,testID}) => {
|
||||
const [state, dispatch] = useTracked();
|
||||
const {currentScreen, colors} = state;
|
||||
|
||||
@@ -32,6 +32,7 @@ export const MenuListItem = ({item, index, noTextMode, ignore}) => {
|
||||
|
||||
return (
|
||||
<PressableButton
|
||||
testID={testID}
|
||||
key={item.name + index}
|
||||
onPress={_onPress}
|
||||
color={
|
||||
|
||||
Reference in New Issue
Block a user