Browse Source

#163 - Fix test snapshots

Elisa Cutrin 1 year ago
parent
commit
5b26548736
1 changed files with 8 additions and 256 deletions
  1. 8 256
      apps/wallet/test/snapshot/__snapshots__/SignOutcome.test.js.snap

+ 8 - 256
apps/wallet/test/snapshot/__snapshots__/SignOutcome.test.js.snap

@@ -9,8 +9,6 @@ ShallowWrapper {
9 9
     links={
10 10
       Array [
11 11
         "Make Poblenou a car-free zone",
12
-        "Ban diesel engines from the city",
13
-        "More street lighting for the old town",
14 12
         "Reduce noise pollution",
15 13
       ]
16 14
     }
@@ -77,7 +75,7 @@ ShallowWrapper {
77 75
               }
78 76
             }
79 77
           >
80
-            You may interested in these other petitions
78
+            You may be interested in these other petitions
81 79
           </Text>
82 80
           <Text
83 81
             accessible={true}
@@ -113,42 +111,6 @@ ShallowWrapper {
113 111
               }
114 112
             }
115 113
           >
116
-            Ban diesel engines from the city
117
-          </Text>
118
-          <Text
119
-            accessible={true}
120
-            allowFontScaling={true}
121
-            ellipsizeMode="tail"
122
-            onPress={[Function]}
123
-            style={
124
-              Object {
125
-                "color": "#00F",
126
-                "fontSize": 16,
127
-                "fontWeight": "bold",
128
-                "marginVertical": 10,
129
-                "textAlign": "left",
130
-                "textDecorationLine": "underline",
131
-              }
132
-            }
133
-          >
134
-            More street lighting for the old town
135
-          </Text>
136
-          <Text
137
-            accessible={true}
138
-            allowFontScaling={true}
139
-            ellipsizeMode="tail"
140
-            onPress={[Function]}
141
-            style={
142
-              Object {
143
-                "color": "#00F",
144
-                "fontSize": 16,
145
-                "fontWeight": "bold",
146
-                "marginVertical": 10,
147
-                "textAlign": "left",
148
-                "textDecorationLine": "underline",
149
-              }
150
-            }
151
-          >
152 114
             Reduce noise pollution
153 115
           </Text>
154 116
         </View>,
@@ -159,8 +121,6 @@ ShallowWrapper {
159 121
           style={
160 122
             Object {
161 123
               "alignSelf": "center",
162
-              "flex": 0,
163
-              "marginBottom": 80,
164 124
               "width": 200,
165 125
             }
166 126
           }
@@ -246,7 +206,7 @@ ShallowWrapper {
246 206
                 }
247 207
               }
248 208
             >
249
-              You may interested in these other petitions
209
+              You may be interested in these other petitions
250 210
             </Text>,
251 211
             Array [
252 212
               <Text
@@ -283,42 +243,6 @@ ShallowWrapper {
283 243
                   }
284 244
                 }
285 245
               >
286
-                Ban diesel engines from the city
287
-              </Text>,
288
-              <Text
289
-                accessible={true}
290
-                allowFontScaling={true}
291
-                ellipsizeMode="tail"
292
-                onPress={[Function]}
293
-                style={
294
-                  Object {
295
-                    "color": "#00F",
296
-                    "fontSize": 16,
297
-                    "fontWeight": "bold",
298
-                    "marginVertical": 10,
299
-                    "textAlign": "left",
300
-                    "textDecorationLine": "underline",
301
-                  }
302
-                }
303
-              >
304
-                More street lighting for the old town
305
-              </Text>,
306
-              <Text
307
-                accessible={true}
308
-                allowFontScaling={true}
309
-                ellipsizeMode="tail"
310
-                onPress={[Function]}
311
-                style={
312
-                  Object {
313
-                    "color": "#00F",
314
-                    "fontSize": 16,
315
-                    "fontWeight": "bold",
316
-                    "marginVertical": 10,
317
-                    "textAlign": "left",
318
-                    "textDecorationLine": "underline",
319
-                  }
320
-                }
321
-              >
322 246
                 Reduce noise pollution
323 247
               </Text>,
324 248
             ],
@@ -337,7 +261,7 @@ ShallowWrapper {
337 261
             "props": Object {
338 262
               "accessible": true,
339 263
               "allowFontScaling": true,
340
-              "children": "You may interested in these other petitions",
264
+              "children": "You may be interested in these other petitions",
341 265
               "ellipsizeMode": "tail",
342 266
               "style": Object {
343 267
                 "fontSize": 16,
@@ -345,7 +269,7 @@ ShallowWrapper {
345 269
               },
346 270
             },
347 271
             "ref": null,
348
-            "rendered": "You may interested in these other petitions",
272
+            "rendered": "You may be interested in these other petitions",
349 273
             "type": [Function],
350 274
           },
351 275
           Object {
@@ -378,52 +302,6 @@ ShallowWrapper {
378 302
             "props": Object {
379 303
               "accessible": true,
380 304
               "allowFontScaling": true,
381
-              "children": "Ban diesel engines from the city",
382
-              "ellipsizeMode": "tail",
383
-              "onPress": [Function],
384
-              "style": Object {
385
-                "color": "#00F",
386
-                "fontSize": 16,
387
-                "fontWeight": "bold",
388
-                "marginVertical": 10,
389
-                "textAlign": "left",
390
-                "textDecorationLine": "underline",
391
-              },
392
-            },
393
-            "ref": null,
394
-            "rendered": "Ban diesel engines from the city",
395
-            "type": [Function],
396
-          },
397
-          Object {
398
-            "instance": null,
399
-            "key": "2",
400
-            "nodeType": "class",
401
-            "props": Object {
402
-              "accessible": true,
403
-              "allowFontScaling": true,
404
-              "children": "More street lighting for the old town",
405
-              "ellipsizeMode": "tail",
406
-              "onPress": [Function],
407
-              "style": Object {
408
-                "color": "#00F",
409
-                "fontSize": 16,
410
-                "fontWeight": "bold",
411
-                "marginVertical": 10,
412
-                "textAlign": "left",
413
-                "textDecorationLine": "underline",
414
-              },
415
-            },
416
-            "ref": null,
417
-            "rendered": "More street lighting for the old town",
418
-            "type": [Function],
419
-          },
420
-          Object {
421
-            "instance": null,
422
-            "key": "3",
423
-            "nodeType": "class",
424
-            "props": Object {
425
-              "accessible": true,
426
-              "allowFontScaling": true,
427 305
               "children": "Reduce noise pollution",
428 306
               "ellipsizeMode": "tail",
429 307
               "onPress": [Function],
@@ -453,8 +331,6 @@ ShallowWrapper {
453 331
           "onPress": [Function],
454 332
           "style": Object {
455 333
             "alignSelf": "center",
456
-            "flex": 0,
457
-            "marginBottom": 80,
458 334
             "width": 200,
459 335
           },
460 336
         },
@@ -517,7 +393,7 @@ ShallowWrapper {
517 393
                 }
518 394
               }
519 395
             >
520
-              You may interested in these other petitions
396
+              You may be interested in these other petitions
521 397
             </Text>
522 398
             <Text
523 399
               accessible={true}
@@ -553,42 +429,6 @@ ShallowWrapper {
553 429
                 }
554 430
               }
555 431
             >
556
-              Ban diesel engines from the city
557
-            </Text>
558
-            <Text
559
-              accessible={true}
560
-              allowFontScaling={true}
561
-              ellipsizeMode="tail"
562
-              onPress={[Function]}
563
-              style={
564
-                Object {
565
-                  "color": "#00F",
566
-                  "fontSize": 16,
567
-                  "fontWeight": "bold",
568
-                  "marginVertical": 10,
569
-                  "textAlign": "left",
570
-                  "textDecorationLine": "underline",
571
-                }
572
-              }
573
-            >
574
-              More street lighting for the old town
575
-            </Text>
576
-            <Text
577
-              accessible={true}
578
-              allowFontScaling={true}
579
-              ellipsizeMode="tail"
580
-              onPress={[Function]}
581
-              style={
582
-                Object {
583
-                  "color": "#00F",
584
-                  "fontSize": 16,
585
-                  "fontWeight": "bold",
586
-                  "marginVertical": 10,
587
-                  "textAlign": "left",
588
-                  "textDecorationLine": "underline",
589
-                }
590
-              }
591
-            >
592 432
               Reduce noise pollution
593 433
             </Text>
594 434
           </View>,
@@ -599,8 +439,6 @@ ShallowWrapper {
599 439
             style={
600 440
               Object {
601 441
                 "alignSelf": "center",
602
-                "flex": 0,
603
-                "marginBottom": 80,
604 442
                 "width": 200,
605 443
               }
606 444
             }
@@ -686,7 +524,7 @@ ShallowWrapper {
686 524
                   }
687 525
                 }
688 526
               >
689
-                You may interested in these other petitions
527
+                You may be interested in these other petitions
690 528
               </Text>,
691 529
               Array [
692 530
                 <Text
@@ -723,42 +561,6 @@ ShallowWrapper {
723 561
                     }
724 562
                   }
725 563
                 >
726
-                  Ban diesel engines from the city
727
-                </Text>,
728
-                <Text
729
-                  accessible={true}
730
-                  allowFontScaling={true}
731
-                  ellipsizeMode="tail"
732
-                  onPress={[Function]}
733
-                  style={
734
-                    Object {
735
-                      "color": "#00F",
736
-                      "fontSize": 16,
737
-                      "fontWeight": "bold",
738
-                      "marginVertical": 10,
739
-                      "textAlign": "left",
740
-                      "textDecorationLine": "underline",
741
-                    }
742
-                  }
743
-                >
744
-                  More street lighting for the old town
745
-                </Text>,
746
-                <Text
747
-                  accessible={true}
748
-                  allowFontScaling={true}
749
-                  ellipsizeMode="tail"
750
-                  onPress={[Function]}
751
-                  style={
752
-                    Object {
753
-                      "color": "#00F",
754
-                      "fontSize": 16,
755
-                      "fontWeight": "bold",
756
-                      "marginVertical": 10,
757
-                      "textAlign": "left",
758
-                      "textDecorationLine": "underline",
759
-                    }
760
-                  }
761
-                >
762 564
                   Reduce noise pollution
763 565
                 </Text>,
764 566
               ],
@@ -777,7 +579,7 @@ ShallowWrapper {
777 579
               "props": Object {
778 580
                 "accessible": true,
779 581
                 "allowFontScaling": true,
780
-                "children": "You may interested in these other petitions",
582
+                "children": "You may be interested in these other petitions",
781 583
                 "ellipsizeMode": "tail",
782 584
                 "style": Object {
783 585
                   "fontSize": 16,
@@ -785,7 +587,7 @@ ShallowWrapper {
785 587
                 },
786 588
               },
787 589
               "ref": null,
788
-              "rendered": "You may interested in these other petitions",
590
+              "rendered": "You may be interested in these other petitions",
789 591
               "type": [Function],
790 592
             },
791 593
             Object {
@@ -818,52 +620,6 @@ ShallowWrapper {
818 620
               "props": Object {
819 621
                 "accessible": true,
820 622
                 "allowFontScaling": true,
821
-                "children": "Ban diesel engines from the city",
822
-                "ellipsizeMode": "tail",
823
-                "onPress": [Function],
824
-                "style": Object {
825
-                  "color": "#00F",
826
-                  "fontSize": 16,
827
-                  "fontWeight": "bold",
828
-                  "marginVertical": 10,
829
-                  "textAlign": "left",
830
-                  "textDecorationLine": "underline",
831
-                },
832
-              },
833
-              "ref": null,
834
-              "rendered": "Ban diesel engines from the city",
835
-              "type": [Function],
836
-            },
837
-            Object {
838
-              "instance": null,
839
-              "key": "2",
840
-              "nodeType": "class",
841
-              "props": Object {
842
-                "accessible": true,
843
-                "allowFontScaling": true,
844
-                "children": "More street lighting for the old town",
845
-                "ellipsizeMode": "tail",
846
-                "onPress": [Function],
847
-                "style": Object {
848
-                  "color": "#00F",
849
-                  "fontSize": 16,
850
-                  "fontWeight": "bold",
851
-                  "marginVertical": 10,
852
-                  "textAlign": "left",
853
-                  "textDecorationLine": "underline",
854
-                },
855
-              },
856
-              "ref": null,
857
-              "rendered": "More street lighting for the old town",
858
-              "type": [Function],
859
-            },
860
-            Object {
861
-              "instance": null,
862
-              "key": "3",
863
-              "nodeType": "class",
864
-              "props": Object {
865
-                "accessible": true,
866
-                "allowFontScaling": true,
867 623
                 "children": "Reduce noise pollution",
868 624
                 "ellipsizeMode": "tail",
869 625
                 "onPress": [Function],
@@ -893,8 +649,6 @@ ShallowWrapper {
893 649
             "onPress": [Function],
894 650
             "style": Object {
895 651
               "alignSelf": "center",
896
-              "flex": 0,
897
-              "marginBottom": 80,
898 652
               "width": 200,
899 653
             },
900 654
           },
@@ -935,8 +689,6 @@ ShallowWrapper {
935 689
     links={
936 690
       Array [
937 691
         "Make Poblenou a car-free zone",
938
-        "Ban diesel engines from the city",
939
-        "More street lighting for the old town",
940 692
         "Reduce noise pollution",
941 693
       ]
942 694
     }