Skip to content

Commit fd17482

Browse files
authored
Merge pull request #6 from KarinaNi/build
Build
2 parents eca46a1 + 372e4c5 commit fd17482

37 files changed

+962
-310
lines changed

__tests__/__snapshots__/App-test.js.snap

Lines changed: 194 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ exports[`homescreen tests renders correctly 1`] = `
9999
"alignItems": "center",
100100
"backgroundColor": "rgba(43, 75, 149, 0.25)",
101101
"borderRadius": 5,
102-
"flex": 0.3,
102+
"flex": 0.4,
103103
"flexDirection": "column",
104104
"justifyContent": "center",
105-
"margin": 15,
105+
"margin": 10,
106106
}
107107
}
108108
>
@@ -178,6 +178,9 @@ exports[`homescreen tests renders correctly 1`] = `
178178
<View
179179
style={
180180
Object {
181+
"borderColor": "#9d4dbb",
182+
"borderRadius": 5,
183+
"borderWidth": 2,
181184
"flex": 1,
182185
"height": 50,
183186
"width": 200,
@@ -275,95 +278,111 @@ exports[`homescreen tests renders correctly 1`] = `
275278
}
276279
>
277280
<View
278-
accessible={true}
279-
isTVSelectable={true}
280-
onResponderGrant={[Function]}
281-
onResponderMove={[Function]}
282-
onResponderRelease={[Function]}
283-
onResponderTerminate={[Function]}
284-
onResponderTerminationRequest={[Function]}
285-
onStartShouldSetResponder={[Function]}
286281
style={
287282
Object {
288-
"alignItems": "center",
289-
"backgroundColor": "rgba(43, 75, 149, 0.25)",
290-
"borderColor": "#9d4dbb",
291-
"borderRadius": 5,
292-
"borderWidth": 2,
293283
"flex": 1,
294-
"justifyContent": "center",
295-
"margin": 15,
296-
"opacity": 1,
297284
}
298285
}
299286
>
300287
<View
288+
accessible={true}
289+
isTVSelectable={true}
290+
onResponderGrant={[Function]}
291+
onResponderMove={[Function]}
292+
onResponderRelease={[Function]}
293+
onResponderTerminate={[Function]}
294+
onResponderTerminationRequest={[Function]}
295+
onStartShouldSetResponder={[Function]}
301296
style={
302297
Object {
303298
"alignItems": "center",
299+
"backgroundColor": "rgba(43, 75, 149, 0.25)",
300+
"borderColor": "#9d4dbb",
301+
"borderRadius": 5,
302+
"borderWidth": 2,
304303
"flex": 1,
305304
"justifyContent": "center",
305+
"margin": 10,
306+
"opacity": 1,
306307
}
307308
}
308309
>
309-
<Text
310+
<View
310311
style={
311312
Object {
312-
"color": "#ffffff",
313-
"fontSize": 20,
314-
"fontWeight": "bold",
315-
"textAlign": "center",
313+
"alignItems": "center",
314+
"flex": 1,
315+
"justifyContent": "center",
316316
}
317317
}
318318
>
319-
Weekly Challenges
320-
</Text>
319+
<Text
320+
style={
321+
Object {
322+
"color": "#ffffff",
323+
"fontSize": 20,
324+
"fontWeight": "bold",
325+
"textAlign": "center",
326+
}
327+
}
328+
>
329+
Weekly Challenges
330+
</Text>
331+
</View>
321332
</View>
322333
</View>
323334
<View
324-
accessible={true}
325-
isTVSelectable={true}
326-
onResponderGrant={[Function]}
327-
onResponderMove={[Function]}
328-
onResponderRelease={[Function]}
329-
onResponderTerminate={[Function]}
330-
onResponderTerminationRequest={[Function]}
331-
onStartShouldSetResponder={[Function]}
332335
style={
333336
Object {
334-
"alignItems": "center",
335-
"backgroundColor": "rgba(43, 75, 149, 0.25)",
336-
"borderColor": "#9d4dbb",
337-
"borderRadius": 5,
338-
"borderWidth": 2,
339337
"flex": 1,
340-
"justifyContent": "center",
341-
"margin": 15,
342-
"opacity": 1,
343338
}
344339
}
345340
>
346341
<View
342+
accessible={true}
343+
isTVSelectable={true}
344+
onResponderGrant={[Function]}
345+
onResponderMove={[Function]}
346+
onResponderRelease={[Function]}
347+
onResponderTerminate={[Function]}
348+
onResponderTerminationRequest={[Function]}
349+
onStartShouldSetResponder={[Function]}
347350
style={
348351
Object {
349352
"alignItems": "center",
353+
"backgroundColor": "rgba(43, 75, 149, 0.25)",
354+
"borderColor": "#9d4dbb",
355+
"borderRadius": 5,
356+
"borderWidth": 2,
350357
"flex": 1,
351358
"justifyContent": "center",
359+
"margin": 10,
360+
"opacity": 1,
352361
}
353362
}
354363
>
355-
<Text
364+
<View
356365
style={
357366
Object {
358-
"color": "#ffffff",
359-
"fontSize": 20,
360-
"fontWeight": "bold",
361-
"textAlign": "center",
367+
"alignItems": "center",
368+
"flex": 1,
369+
"justifyContent": "center",
362370
}
363371
}
364372
>
365-
Random Drop
366-
</Text>
373+
<Text
374+
style={
375+
Object {
376+
"color": "#ffffff",
377+
"fontSize": 20,
378+
"fontWeight": "bold",
379+
"textAlign": "center",
380+
}
381+
}
382+
>
383+
Challenge Guides
384+
</Text>
385+
</View>
367386
</View>
368387
</View>
369388
</View>
@@ -401,7 +420,125 @@ exports[`homescreen tests renders correctly 1`] = `
401420
"borderWidth": 2,
402421
"flex": 1,
403422
"justifyContent": "center",
404-
"margin": 15,
423+
"margin": 10,
424+
"opacity": 1,
425+
}
426+
}
427+
>
428+
<View
429+
style={
430+
Object {
431+
"alignItems": "center",
432+
"flex": 1,
433+
"justifyContent": "center",
434+
}
435+
}
436+
>
437+
<Text
438+
style={
439+
Object {
440+
"color": "#ffffff",
441+
"fontSize": 20,
442+
"fontWeight": "bold",
443+
"textAlign": "center",
444+
}
445+
}
446+
>
447+
Weapons Stats
448+
</Text>
449+
</View>
450+
</View>
451+
</View>
452+
<View
453+
style={
454+
Object {
455+
"flex": 1,
456+
}
457+
}
458+
>
459+
<View
460+
accessible={true}
461+
isTVSelectable={true}
462+
onResponderGrant={[Function]}
463+
onResponderMove={[Function]}
464+
onResponderRelease={[Function]}
465+
onResponderTerminate={[Function]}
466+
onResponderTerminationRequest={[Function]}
467+
onStartShouldSetResponder={[Function]}
468+
style={
469+
Object {
470+
"alignItems": "center",
471+
"backgroundColor": "rgba(43, 75, 149, 0.25)",
472+
"borderColor": "#9d4dbb",
473+
"borderRadius": 5,
474+
"borderWidth": 2,
475+
"flex": 1,
476+
"justifyContent": "center",
477+
"margin": 10,
478+
"opacity": 1,
479+
}
480+
}
481+
>
482+
<View
483+
style={
484+
Object {
485+
"alignItems": "center",
486+
"flex": 1,
487+
"justifyContent": "center",
488+
}
489+
}
490+
>
491+
<Text
492+
style={
493+
Object {
494+
"color": "#ffffff",
495+
"fontSize": 20,
496+
"fontWeight": "bold",
497+
"textAlign": "center",
498+
}
499+
}
500+
>
501+
Random Drop
502+
</Text>
503+
</View>
504+
</View>
505+
</View>
506+
</View>
507+
<View
508+
style={
509+
Object {
510+
"flex": 0.3,
511+
"flexDirection": "row",
512+
"justifyContent": "space-evenly",
513+
}
514+
}
515+
>
516+
<View
517+
style={
518+
Object {
519+
"flex": 1,
520+
}
521+
}
522+
>
523+
<View
524+
accessible={true}
525+
isTVSelectable={true}
526+
onResponderGrant={[Function]}
527+
onResponderMove={[Function]}
528+
onResponderRelease={[Function]}
529+
onResponderTerminate={[Function]}
530+
onResponderTerminationRequest={[Function]}
531+
onStartShouldSetResponder={[Function]}
532+
style={
533+
Object {
534+
"alignItems": "center",
535+
"backgroundColor": "rgba(43, 75, 149, 0.25)",
536+
"borderColor": "#9d4dbb",
537+
"borderRadius": 5,
538+
"borderWidth": 2,
539+
"flex": 1,
540+
"justifyContent": "center",
541+
"margin": 10,
405542
"opacity": 1,
406543
}
407544
}
@@ -455,7 +592,7 @@ exports[`homescreen tests renders correctly 1`] = `
455592
"borderWidth": 2,
456593
"flex": 1,
457594
"justifyContent": "center",
458-
"margin": 15,
595+
"margin": 10,
459596
"opacity": 1,
460597
}
461598
}
@@ -519,7 +656,7 @@ exports[`homescreen tests renders correctly 1`] = `
519656
"borderWidth": 2,
520657
"flex": 1,
521658
"justifyContent": "center",
522-
"margin": 15,
659+
"margin": 10,
523660
"opacity": 1,
524661
}
525662
}
@@ -573,7 +710,7 @@ exports[`homescreen tests renders correctly 1`] = `
573710
"borderWidth": 2,
574711
"flex": 1,
575712
"justifyContent": "center",
576-
"margin": 15,
713+
"margin": 10,
577714
"opacity": 1,
578715
}
579716
}
@@ -597,7 +734,7 @@ exports[`homescreen tests renders correctly 1`] = `
597734
}
598735
}
599736
>
600-
Weapon Stats
737+
Controls
601738
</Text>
602739
</View>
603740
</View>
@@ -719,10 +856,10 @@ exports[`random dropper screen tests renders correctly 1`] = `
719856
"alignItems": "center",
720857
"backgroundColor": "rgba(43, 75, 149, 0.25)",
721858
"borderRadius": 5,
722-
"flex": 0.3,
859+
"flex": 0.4,
723860
"flexDirection": "column",
724861
"justifyContent": "center",
725-
"margin": 15,
862+
"margin": 10,
726863
}
727864
}
728865
>
@@ -756,10 +893,10 @@ exports[`random dropper screen tests renders correctly 1`] = `
756893
"alignItems": "center",
757894
"backgroundColor": "rgba(43, 75, 149, 0.25)",
758895
"borderRadius": 5,
759-
"flex": 0.3,
896+
"flex": 0.4,
760897
"flexDirection": "column",
761898
"justifyContent": "center",
762-
"margin": 15,
899+
"margin": 10,
763900
}
764901
}
765902
>
197 KB
Loading
189 KB
Loading
190 KB
Loading
196 KB
Loading
188 KB
Loading
179 KB
Loading
173 KB
Loading
178 KB
Loading
175 KB
Loading

0 commit comments

Comments
 (0)