teamdigitale/italia-app

View on GitHub
ts/components/SectionStatus/__tests__/__snapshots__/SectionStatusContent.test.tsx.snap

Summary

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

exports[`StatusContent should match the snapshot 1`] = `
<View
  accessibilityLabel="a label"
  accessibilityRole="link"
  accessible={true}
  style={
    Array [
      Object {
        "alignContent": "center",
        "alignItems": "flex-start",
        "flexDirection": "row",
        "paddingBottom": 8,
        "paddingLeft": 24,
        "paddingRight": 24,
        "paddingTop": 8,
        "width": "100%",
      },
      Object {
        "backgroundColor": "#00C5CA",
      },
    ]
  }
  testID="SectionStatusContent"
>
  <View
    style={
      Object {
        "alignSelf": "center",
      }
    }
  >
    <RNSVGSvgView
      accessibilityElementsHidden={true}
      accessibilityLabel=""
      accessible={false}
      align="xMidYMid"
      bbHeight={24}
      bbWidth={24}
      focusable={false}
      height={24}
      importantForAccessibility="no-hide-descendants"
      meetOrSlice={0}
      minX={0}
      minY={0}
      style={
        Array [
          Object {
            "backgroundColor": "transparent",
            "borderWidth": 0,
          },
          Object {
            "color": "#17324D",
          },
          Object {
            "flex": 0,
            "height": 24,
            "width": 24,
          },
        ]
      }
      tintColor="#17324D"
      vbHeight={24}
      vbWidth={24}
      width={24}
    >
      <RNSVGGroup
        fill={
          Object {
            "payload": 4278190080,
            "type": 0,
          }
        }
      >
        <RNSVGPath
          d="M17.752 8.22a1.083 1.083 0 0 0-1.531.028l-5.974 6.192-2.468-2.558-.093-.086a1.083 1.083 0 0 0-1.465 1.589l3.248 3.367.095.087c.43.352 1.068.322 1.463-.087l6.752-7 .083-.096c.328-.431.29-1.05-.11-1.435Z"
          fill={
            Object {
              "type": 2,
            }
          }
          propList={
            Array [
              "fill",
            ]
          }
        />
        <RNSVGPath
          clipRule={0}
          d="M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0Zm0 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Z"
          fill={
            Object {
              "type": 2,
            }
          }
          fillRule={0}
          propList={
            Array [
              "fill",
              "fillRule",
            ]
          }
        />
        <RNSVGPath
          d="M17.752 8.22a1.083 1.083 0 0 0-1.531.028l-5.974 6.192-2.468-2.558-.093-.086a1.083 1.083 0 0 0-1.465 1.589l3.248 3.367.095.087c.43.352 1.068.322 1.463-.087l6.752-7 .083-.096c.328-.431.29-1.05-.11-1.435Z"
          fill={
            Object {
              "type": 2,
            }
          }
          propList={
            Array [
              "fill",
            ]
          }
        />
        <RNSVGPath
          clipRule={0}
          d="M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0Zm0 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Z"
          fill={
            Object {
              "type": 2,
            }
          }
          fillRule={0}
          propList={
            Array [
              "fill",
              "fillRule",
            ]
          }
        />
      </RNSVGGroup>
    </RNSVGSvgView>
  </View>
  <Text
    color="bluegreyDark"
    defaultColor="blue"
    defaultWeight="Bold"
    font="TitilliumWeb"
    fontStyle={
      Object {
        "fontSize": 16,
      }
    }
    style={
      Array [
        Array [
          Object {
            "flex": 1,
            "marginLeft": 16,
          },
          Object {},
        ],
        Object {
          "fontSize": 16,
        },
        Object {
          "color": "#17324D",
          "fontFamily": "Titillium Web",
          "fontStyle": "normal",
          "fontWeight": "400",
        },
      ]
    }
    weight="Regular"
  />
</View>
`;