phodal/growth

View on GitHub
__tests__/components/discover/home/__snapshots__/growthImageCard.test.js.snap

Summary

Maintainability
Test Coverage
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`renders correctly 1`] = `
<View
  accessibilityComponentType={undefined}
  accessibilityLabel={undefined}
  accessibilityTraits={undefined}
  accessible={true}
  hasTVPreferredFocus={undefined}
  hitSlop={undefined}
  isTVSelectable={true}
  onLayout={undefined}
  onResponderGrant={[Function]}
  onResponderMove={[Function]}
  onResponderRelease={[Function]}
  onResponderTerminate={[Function]}
  onResponderTerminationRequest={[Function]}
  onStartShouldSetResponder={[Function]}
  style={
    Array [
      Object {
        "backgroundColor": "transparent",
      },
      undefined,
    ]
  }
  testID={undefined}
  tvParallaxProperties={undefined}
>
  <Image
    borderRadius={6}
    resizeMode="cover"
    source={1}
    style={
      Object {
        "height": 120,
        "marginLeft": 20,
        "marginRight": 20,
        "marginTop": 10,
        "width": null,
      }
    }
  >
    <View
      style={
        Object {
          "backgroundColor": "#fff",
          "height": 40,
          "opacity": 0.8,
          "top": 80,
        }
      }
    >
      <Text
        accessible={true}
        allowFontScaling={true}
        ellipsizeMode="tail"
        style={
          Object {
            "color": "#000",
            "fontSize": 20,
            "textAlign": "center",
            "top": 8,
          }
        }
      >
         
        Growth 技能树
      </Text>
    </View>
  </Image>
</View>
`;