StandardHeader.spec.js.snap 3.95 KB
Newer Older
1
2
// Jest Snapshot v1, https://goo.gl/fbAQLP

3
exports[`StandardHeader component renders correctly on Android 1`] = `
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<View>
  <View
    style={
      Object {
        "backgroundColor": "#E62272",
        "height": 20,
      }
    }
  />
  <View
    style={
      Object {
        "alignItems": "center",
        "backgroundColor": "#E62272",
        "borderBottomColor": "#C2185B",
        "borderBottomWidth": 1,
        "borderStyle": "solid",
        "flexDirection": "row",
22
        "flexWrap": "wrap",
23
        "height": 44,
24
        "justifyContent": "flex-start",
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
      }
    }
  >
    <View
      accessible={true}
      isTVSelectable={true}
      onResponderGrant={[Function]}
      onResponderMove={[Function]}
      onResponderRelease={[Function]}
      onResponderTerminate={[Function]}
      onResponderTerminationRequest={[Function]}
      onStartShouldSetResponder={[Function]}
      style={
        Object {
          "opacity": 1,
40
          "zIndex": 2,
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
        }
      }
    >
      <Text
        allowFontScaling={false}
        style={
          Array [
            Object {
              "color": undefined,
              "fontSize": 24,
            },
            Object {
              "color": "#FFFFFF",
              "paddingLeft": 10,
              "paddingRight": 16,
            },
            Object {
              "fontFamily": "Material Icons",
              "fontStyle": "normal",
              "fontWeight": "normal",
            },
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
62
            Object {},
63
64
65
          ]
        }
      >
66

67
68
69
70
71
72
73
74
75
      </Text>
    </View>
    <Text
      style={
        Object {
          "color": "#FFFFFF",
          "fontFamily": "System",
          "fontSize": 18,
          "fontWeight": "600",
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
          "left": 40,
          "position": "absolute",
          "right": 40,
          "textAlign": "center",
          "zIndex": 0,
        }
      }
    >
      ThaliApp
    </Text>
    <View
      style={
        Object {
          "position": "absolute",
          "right": 0,
        }
      }
    />
  </View>
</View>
`;

exports[`StandardHeader component renders correctly on iOS 1`] = `
<View>
  <View
    style={
      Object {
        "backgroundColor": "#E62272",
        "height": 20,
      }
    }
  />
  <View
    style={
      Object {
        "alignItems": "center",
        "backgroundColor": "#E62272",
        "borderBottomColor": "#C2185B",
        "borderBottomWidth": 1,
        "borderStyle": "solid",
        "flexDirection": "row",
        "flexWrap": "wrap",
        "height": 44,
        "justifyContent": "flex-start",
      }
    }
  >
    <View
      accessible={true}
      isTVSelectable={true}
      onResponderGrant={[Function]}
      onResponderMove={[Function]}
      onResponderRelease={[Function]}
      onResponderTerminate={[Function]}
      onResponderTerminationRequest={[Function]}
      onStartShouldSetResponder={[Function]}
      style={
        Object {
          "opacity": 1,
          "zIndex": 2,
        }
      }
    >
      <Text
        allowFontScaling={false}
        style={
          Array [
            Object {
              "color": undefined,
              "fontSize": 24,
            },
            Object {
              "color": "#FFFFFF",
              "paddingLeft": 10,
              "paddingRight": 16,
            },
            Object {
              "fontFamily": "Material Icons",
              "fontStyle": "normal",
              "fontWeight": "normal",
            },
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
157
            Object {},
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
          ]
        }
      >

      </Text>
    </View>
    <Text
      style={
        Object {
          "color": "#FFFFFF",
          "fontFamily": "System",
          "fontSize": 18,
          "fontWeight": "600",
          "left": 40,
          "position": "absolute",
          "right": 40,
174
          "textAlign": "center",
175
          "zIndex": 0,
176
177
178
179
180
181
182
183
        }
      }
    >
      ThaliApp
    </Text>
    <View
      style={
        Object {
184
185
          "position": "absolute",
          "right": 0,
186
187
188
189
190
191
        }
      }
    />
  </View>
</View>
`;