DeFiCh/wallet

View on GitHub
mobile-app/app/components/__snapshots__/HeaderSearchInput.test.tsx.snap

Summary

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

exports[`Header search input should match snapshot 1`] = `
<View
  style={
    [
      [
        {
          "alignItems": "center",
          "display": "flex",
          "flexDirection": "row",
          "paddingBottom": 2,
          "paddingLeft": 12,
          "paddingRight": 20,
        },
        {
          "paddingTop": 114,
        },
      ],
      {
        "backgroundColor": "rgba(255, 255, 255, 1)",
      },
    ]
  }
>
  <View
    accessibilityState={
      {
        "busy": undefined,
        "checked": undefined,
        "disabled": undefined,
        "expanded": undefined,
        "selected": undefined,
      }
    }
    accessibilityValue={
      {
        "max": undefined,
        "min": undefined,
        "now": undefined,
        "text": undefined,
      }
    }
    accessible={true}
    collapsable={false}
    focusable={true}
    onClick={[Function]}
    onResponderGrant={[Function]}
    onResponderMove={[Function]}
    onResponderRelease={[Function]}
    onResponderTerminate={[Function]}
    onResponderTerminationRequest={[Function]}
    onStartShouldSetResponder={[Function]}
    style={
      {
        "marginRight": 16,
        "opacity": 1,
      }
    }
    testID="search_dex_bar_close"
  >
    <Text />
  </View>
  <View
    style={
      [
        [
          {
            "alignItems": "center",
            "borderBottomLeftRadius": 9999,
            "borderBottomRightRadius": 9999,
            "borderTopLeftRadius": 9999,
            "borderTopRightRadius": 9999,
            "display": "flex",
            "flexDirection": "row",
            "paddingBottom": 12,
            "paddingLeft": 20,
            "paddingRight": 20,
            "paddingTop": 12,
          },
          {
            "borderBottomColor": "rgba(242, 242, 242, 1)",
            "borderBottomWidth": 0.5,
            "borderLeftColor": "rgba(242, 242, 242, 1)",
            "borderLeftWidth": 0.5,
            "borderRightColor": "rgba(242, 242, 242, 1)",
            "borderRightWidth": 0.5,
            "borderTopColor": "rgba(242, 242, 242, 1)",
            "borderTopWidth": 0.5,
            "flexBasis": "0%",
            "flexGrow": 1,
            "flexShrink": 1,
          },
        ],
        {
          "backgroundColor": "rgba(242, 242, 242, 1)",
        },
      ]
    }
  >
    <Text />
    <TextInput
      autoFocus={true}
      onBlur={[Function]}
      onChangeText={[MockFunction]}
      onFocus={[Function]}
      placeholder="Search"
      placeholderTextColor="rgba(115, 115, 115, 1)"
      selectionColor="rgba(255, 0, 140, 1)"
      showClearButton={false}
      style={
        [
          [
            undefined,
            {
              "flexBasis": "0%",
              "flexGrow": 1,
              "flexShrink": 1,
              "fontFamily": "SoraRegular",
              "fontSize": 12,
              "fontWeight": "400",
              "lineHeight": 16,
              "width": "66.666667%",
            },
            {
              "marginRight": 16,
            },
          ],
          {
            "color": "rgba(18, 18, 18, 1)",
          },
        ]
      }
      value=""
    />
  </View>
</View>
`;