phodal/growth

View on GitHub
__tests__/components/discover/solution/view/__snapshots__/solutionContentItem.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",
      },
      Object {
        "backgroundColor": "white",
        "borderRadius": 5,
        "marginLeft": 10,
        "marginRight": 10,
        "marginTop": 15,
      },
    ]
  }
  testID={undefined}
  tvParallaxProperties={undefined}
>
  <View>
    <View
      style={
        Object {
          "alignItems": "center",
          "justifyContent": "center",
          "marginBottom": 10,
          "marginTop": 10,
        }
      }
    >
      <Text
        accessible={true}
        allowFontScaling={true}
        ellipsizeMode="tail"
        style={
          Object {
            "fontSize": 16,
          }
        }
      >
        Nginx/Apache日志分析
      </Text>
    </View>
    <Text
      accessible={true}
      allowFontScaling={true}
      ellipsizeMode="tail"
      style={
        Object {
          "fontSize": 14,
          "paddingBottom": 10,
          "paddingLeft": 10,
          "paddingRight": 10,
        }
      }
    >
      用Hadoop分析、解析数据,将数据存储到ElasticSearch中,通过API与amMap再显示到地图上。
    </Text>
    <View
      style={
        Object {
          "backgroundColor": "rgba(240, 240, 240, .9)",
          "height": 1,
        }
      }
    />
    <View
      style={
        Object {
          "flexDirection": "row",
          "justifyContent": "space-around",
          "marginBottom": 5,
          "marginTop": 5,
        }
      }
    >
      <Text
        accessible={true}
        allowFontScaling={true}
        ellipsizeMode="tail"
        style={
          Object {
            "color": "#999",
            "fontSize": 12,
          }
        }
      >
        Hadoop
      </Text>
      <Text
        accessible={true}
        allowFontScaling={true}
        ellipsizeMode="tail"
        style={
          Object {
            "color": "#999",
            "fontSize": 12,
          }
        }
      >
        amMap
      </Text>
      <Text
        accessible={true}
        allowFontScaling={true}
        ellipsizeMode="tail"
        style={
          Object {
            "color": "#999",
            "fontSize": 12,
          }
        }
      >
        ElasticSearch
      </Text>
    </View>
  </View>
</View>
`;