redbadger/pride-london-app

View on GitHub
src/components/__snapshots__/MessageBanner.test.js.snap

Summary

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

exports[`renders with no errors 1`] = `
<AnimatedComponent
  style={
    Array [
      Object {
        "backgroundColor": "#2cda9d",
        "elevation": 1,
        "height": 90,
        "justifyContent": "flex-start",
        "left": 0,
        "position": "absolute",
        "top": -90,
        "width": "100%",
        "zIndex": 1,
      },
      Object {
        "transform": Array [
          Object {
            "translateY": 0,
          },
        ],
      },
    ]
  }
>
  <TouchableWithoutFeedback
    onPress={[Function]}
  >
    <View
      style={
        Object {
          "flex": 1,
        }
      }
    >
      <ContentPadding
        padding={
          Object {
            "large": Object {
              "horizontal": 20,
              "vertical": 20,
            },
            "medium": Object {
              "horizontal": 16,
              "vertical": 16,
            },
            "small": Object {
              "horizontal": 8,
              "vertical": 8,
            },
          }
        }
        style={Object {}}
      >
        <Text
          color="blackColor"
          markdown={false}
          markdownStyle={Object {}}
          style={
            Object {
              "color": "rgb(25, 26, 71)",
            }
          }
          type="h3"
        >
          Testing the message title
        </Text>
        <Text
          color="blackColor"
          markdown={false}
          markdownStyle={Object {}}
          style={
            Object {
              "color": "rgb(25, 26, 71)",
            }
          }
          type="small"
        >
          Testing the message banner
        </Text>
      </ContentPadding>
    </View>
  </TouchableWithoutFeedback>
</AnimatedComponent>
`;