redbadger/pride-london-app

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

Summary

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

exports[`renders correctly 1`] = `
<View>
  <ContentPadding
    padding={Object {}}
    style={Object {}}
  >
    <Text
      accessibilityTraits={
        Array [
          "header",
        ]
      }
      color="lightNavyBlueColor"
      markdown={false}
      markdownStyle={Object {}}
      style={
        Object {
          "marginBottom": 8,
        }
      }
      type="h2"
    >
      Schedule
    </Text>
  </ContentPadding>
  <LayoutColumn
    spacing={20}
  >
    <View
      key="Afternoon"
    >
      <ContentPadding
        padding={Object {}}
        style={
          Object {
            "backgroundColor": "#f3f3f3",
            "borderWidth": 0,
            "elevation": 3,
            "height": 40,
            "justifyContent": "center",
            "paddingTop": 8,
            "shadowColor": "rgba(0, 0, 0, 0.14)",
            "shadowOffset": Object {
              "height": 1,
              "width": 0,
            },
            "shadowOpacity": 1,
            "shadowRadius": 3,
          }
        }
      >
        <Text
          color="lightNavyBlueColor"
          markdown={false}
          markdownStyle={Object {}}
          type="h3"
        >
          Afternoon
        </Text>
      </ContentPadding>
      <ContentPadding
        padding={Object {}}
        style={Object {}}
      >
        <Collapsible
          maxHeight={140}
          showLessLabel="Show less"
          showMoreLabel="Show more"
        >
          <View
            key="2018-08-08T15:45+00:00"
          >
            <Performance
              startTime="2018-08-08T15:45+00:00"
              title="title"
            />
            <SectionDivider />
          </View>
          <View
            key="2018-07-07T06:40+00:00"
          >
            <Performance
              startTime="2018-07-07T06:40+00:00"
              title="title"
            />
          </View>
        </Collapsible>
      </ContentPadding>
    </View>
    <View
      key="Afternoon"
    >
      <ContentPadding
        padding={Object {}}
        style={
          Object {
            "backgroundColor": "#f3f3f3",
            "borderWidth": 0,
            "elevation": 3,
            "height": 40,
            "justifyContent": "center",
            "paddingTop": 8,
            "shadowColor": "rgba(0, 0, 0, 0.14)",
            "shadowOffset": Object {
              "height": 1,
              "width": 0,
            },
            "shadowOpacity": 1,
            "shadowRadius": 3,
          }
        }
      >
        <Text
          color="lightNavyBlueColor"
          markdown={false}
          markdownStyle={Object {}}
          type="h3"
        >
          Afternoon
        </Text>
      </ContentPadding>
      <ContentPadding
        padding={Object {}}
        style={Object {}}
      >
        <Collapsible
          maxHeight={140}
          showLessLabel="Show less"
          showMoreLabel="Show more"
        >
          <View
            key="2018-08-08T15:45+00:00"
          >
            <Performance
              startTime="2018-08-08T15:45+00:00"
              title="title"
            />
            <SectionDivider />
          </View>
          <View
            key="2018-07-07T06:40+00:00"
          >
            <Performance
              startTime="2018-07-07T06:40+00:00"
              title="title"
            />
          </View>
        </Collapsible>
      </ContentPadding>
    </View>
  </LayoutColumn>
</View>
`;