Skip to content

Commit eb097e5

Browse files
author
Kevin Brown
committed
Fixing linter errors and updating snapshot tests to include the latest changes.
1 parent a7786d4 commit eb097e5

File tree

7 files changed

+3096
-1732
lines changed

7 files changed

+3096
-1732
lines changed

__tests__/scenes/Info/__snapshots__/index.test.js.snap

Lines changed: 22 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ exports[`Info renders correctly 1`] = `
128128
"borderTopColor": "#B3B3B3",
129129
"borderTopWidth": 0.5,
130130
"paddingHorizontal": 17,
131-
"paddingTop": 32,
132131
}
133132
}>
134133
<Text
@@ -140,10 +139,26 @@ exports[`Info renders correctly 1`] = `
140139
"fontSize": 17,
141140
"fontWeight": "300",
142141
"lineHeight": 24,
142+
"paddingTop": 32,
143143
"textAlign": "center",
144144
}
145145
}>
146-
The conference will be taking place on February 22nd and 23rd, with talks from 10am to 6pm each day. Plan to hang out with us each evening for plenty of socializing over food and drink
146+
The conference will be taking place on February 22nd and 23rd, with talks from 10am to 6pm each day. Plan to hang out with us each evening for plenty of socializing over food and drink.
147+
</Text>
148+
<Text
149+
accessible={true}
150+
allowFontScaling={true}
151+
ellipsizeMode="tail"
152+
style={
153+
Object {
154+
"fontSize": 17,
155+
"fontWeight": "300",
156+
"lineHeight": 24,
157+
"paddingTop": 32,
158+
"textAlign": "center",
159+
}
160+
}>
161+
Proceeds from all ticket sales are being donated to Code2040.
147162
</Text>
148163
<View
149164
accessibilityComponentType={undefined}
@@ -208,7 +223,7 @@ exports[`Info renders correctly 1`] = `
208223
"lineHeight": 24,
209224
}
210225
}>
211-
ORGANISERS
226+
ORGANIZERS
212227
</Text>
213228
</View>
214229
<View
@@ -263,106 +278,7 @@ exports[`Info renders correctly 1`] = `
263278
<Image
264279
source={
265280
Object {
266-
"uri": "https://www.gravatar.com/avatar/ceb6764d18462b099b98cc6447363ef6?s=128",
267-
}
268-
}
269-
style={
270-
Object {
271-
"height": 44,
272-
"width": 44,
273-
}
274-
} />
275-
</View>
276-
<View
277-
style={
278-
Object {
279-
"flexGrow": 1,
280-
"flexShrink": 1,
281-
"paddingLeft": 17,
282-
}
283-
}>
284-
<Text
285-
accessible={true}
286-
allowFontScaling={true}
287-
ellipsizeMode="tail"
288-
style={
289-
Object {
290-
"color": "#383838",
291-
"fontSize": 17,
292-
}
293-
}>
294-
Sebastian Markbage
295-
</Text>
296-
<Text
297-
accessible={true}
298-
allowFontScaling={true}
299-
ellipsizeMode="tail"
300-
style={
301-
Object {
302-
"color": "#666",
303-
"fontSize": 14,
304-
"fontWeight": "300",
305-
"marginBottom": 14,
306-
}
307-
}>
308-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi a finibus ligula, sed congue eros. Proin nunc nunc, facilisis sit amet tempor et, finibus eu turpis.
309-
</Text>
310-
</View>
311-
</View>
312-
</View>
313-
<View
314-
accessibilityComponentType={undefined}
315-
accessibilityLabel={undefined}
316-
accessibilityTraits={undefined}
317-
accessible={true}
318-
hasTVPreferredFocus={undefined}
319-
hitSlop={undefined}
320-
isTVSelectable={true}
321-
onLayout={undefined}
322-
onResponderGrant={[Function]}
323-
onResponderMove={[Function]}
324-
onResponderRelease={[Function]}
325-
onResponderTerminate={[Function]}
326-
onResponderTerminationRequest={[Function]}
327-
onStartShouldSetResponder={[Function]}
328-
style={
329-
Array [
330-
Object {
331-
"backgroundColor": "transparent",
332-
},
333-
Object {
334-
"backgroundColor": "white",
335-
},
336-
]
337-
}
338-
testID={undefined}
339-
tvParallaxProperties={undefined}>
340-
<View
341-
style={
342-
Object {
343-
"alignItems": "center",
344-
"borderBottomColor": "#CCC",
345-
"borderBottomWidth": 0.5,
346-
"flexDirection": "row",
347-
"flexGrow": 1,
348-
"flexShrink": 1,
349-
"padding": 17,
350-
}
351-
}>
352-
<View
353-
style={
354-
Object {
355-
"backgroundColor": "#F4F4F4",
356-
"borderRadius": 44,
357-
"height": 44,
358-
"overflow": "hidden",
359-
"width": 44,
360-
}
361-
}>
362-
<Image
363-
source={
364-
Object {
365-
"uri": "https://www.gravatar.com/avatar/f3928721841baa5ee26fbbe906348039?s=128",
281+
"uri": "https://www.gravatar.com/avatar/30840890815ed0044146eb2da203276e?s=128",
366282
}
367283
}
368284
style={
@@ -390,7 +306,7 @@ exports[`Info renders correctly 1`] = `
390306
"fontSize": 17,
391307
}
392308
}>
393-
Jing Chen
309+
Tom Occhino
394310
</Text>
395311
<Text
396312
accessible={true}
@@ -404,7 +320,7 @@ exports[`Info renders correctly 1`] = `
404320
"marginBottom": 14,
405321
}
406322
}>
407-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi a finibus ligula, sed congue eros. Proin nunc nunc, facilisis sit amet tempor et, finibus eu turpis.
323+
Lead Conference Wrangler
408324
</Text>
409325
</View>
410326
</View>
@@ -461,7 +377,7 @@ exports[`Info renders correctly 1`] = `
461377
"textAlign": "center",
462378
}
463379
}>
464-
React Conf App made with love in Sydney, Australia, and open sourced by Thinkmill
380+
This app made with love in Sydney, Australia and open sourced by Thinkmill
465381
</Text>
466382
<Text
467383
accessible={true}

0 commit comments

Comments
 (0)