verdnatura-chat/patches/@react-navigation+elements+...

14 lines
643 B
Diff
Raw Normal View History

diff --git a/node_modules/@react-navigation/elements/src/Header/HeaderBackButton.tsx b/node_modules/@react-navigation/elements/src/Header/HeaderBackButton.tsx
index 39a39b2..7a60a15 100644
--- a/node_modules/@react-navigation/elements/src/Header/HeaderBackButton.tsx
+++ b/node_modules/@react-navigation/elements/src/Header/HeaderBackButton.tsx
@@ -30,7 +30,7 @@ export default function HeaderBackButton({
titleLayout,
truncatedLabel = 'Back',
accessibilityLabel = label && label !== 'Back' ? `${label}, back` : 'Go back',
- testID,
+ testID = 'header-back',
style,
}: HeaderBackButtonProps) {
const { colors } = useTheme();