Fix testIDs

This commit is contained in:
Joseph Baylon
2022-04-12 13:53:38 -07:00
parent 8e94c5b305
commit bf1bd42aef
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ const PinChannelOption = ({isPostPinned, postId}: PinChannelProps) => {
defaultMessage={defaultMessage}
iconName='pin-outline'
onPress={onPress}
testID={`post.options.${key}.channel.option`}
testID={`post_options.${key}.channel.option`}
/>
);
};

View File

@@ -34,7 +34,7 @@ const SaveOption = ({isSaved, postId}: CopyTextProps) => {
defaultMessage={defaultMessage}
iconName='bookmark-outline'
onPress={onHandlePress}
testID={`post.options.${defaultMessage.toLocaleLowerCase()}.channel.option`}
testID={`post_options.${defaultMessage.toLocaleLowerCase()}.channel.option`}
/>
);
};