Skip to content

Commit bfb8ed9

Browse files
committed
fix: test
1 parent 6f21bba commit bfb8ed9

File tree

16 files changed

+25019
-23693
lines changed

16 files changed

+25019
-23693
lines changed

app/containers/Avatar/__snapshots__/Avatar.test.tsx.snap

Lines changed: 36 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -835,40 +835,24 @@ exports[`Story Snapshots: Touchable should match snapshot 1`] = `
835835
}
836836
testID="avatar"
837837
>
838-
<View
839-
accessibilityState={
840-
{
841-
"busy": undefined,
842-
"checked": undefined,
843-
"disabled": undefined,
844-
"expanded": undefined,
845-
"selected": undefined,
846-
}
847-
}
848-
accessibilityValue={
849-
{
850-
"max": undefined,
851-
"min": undefined,
852-
"now": undefined,
853-
"text": undefined,
854-
}
855-
}
856-
accessible={true}
838+
<RNGestureHandlerButton
839+
activeOpacity={1}
857840
collapsable={false}
858-
focusable={true}
859-
onBlur={[Function]}
860-
onClick={[Function]}
861-
onFocus={[Function]}
862-
onResponderGrant={[Function]}
863-
onResponderMove={[Function]}
864-
onResponderRelease={[Function]}
865-
onResponderTerminate={[Function]}
866-
onResponderTerminationRequest={[Function]}
867-
onStartShouldSetResponder={[Function]}
841+
delayLongPress={600}
842+
enabled={true}
843+
handlerTag={1}
844+
handlerType="NativeViewGestureHandler"
845+
innerRef={null}
846+
onActiveStateChange={[Function]}
847+
onGestureHandlerEvent={[Function]}
848+
onGestureHandlerStateChange={[Function]}
849+
onPress={[Function]}
850+
rippleColor="#E4E7EA"
868851
style={
869852
[
870-
undefined,
871853
{
854+
"backgroundColor": undefined,
855+
"borderRadius": undefined,
872856
"margin": undefined,
873857
"marginBottom": undefined,
874858
"marginEnd": undefined,
@@ -880,13 +864,31 @@ exports[`Story Snapshots: Touchable should match snapshot 1`] = `
880864
"marginVertical": undefined,
881865
},
882866
{
883-
"backgroundColor": undefined,
884-
"borderRadius": undefined,
885-
"opacity": 1,
867+
"cursor": undefined,
886868
},
887869
]
888870
}
871+
underlayColor="#E4E7EA"
889872
>
873+
<View
874+
collapsable={false}
875+
style={
876+
{
877+
"backgroundColor": "#E4E7EA",
878+
"borderBottomLeftRadius": undefined,
879+
"borderBottomRightRadius": undefined,
880+
"borderRadius": undefined,
881+
"borderTopLeftRadius": undefined,
882+
"borderTopRightRadius": undefined,
883+
"bottom": 0,
884+
"left": 0,
885+
"opacity": 0,
886+
"position": "absolute",
887+
"right": 0,
888+
"top": 0,
889+
}
890+
}
891+
/>
890892
<View
891893
accessibilityLabel="Avatar's avatar"
892894
accessible={true}
@@ -929,7 +931,7 @@ exports[`Story Snapshots: Touchable should match snapshot 1`] = `
929931
width={56}
930932
/>
931933
</View>
932-
</View>
934+
</RNGestureHandlerButton>
933935
</View>
934936
`;
935937

0 commit comments

Comments
 (0)