Skip to content

Commit daceaaa

Browse files
committed
fix snapshots
1 parent 6fa85a0 commit daceaaa

File tree

1 file changed

+156
-18
lines changed
  • __tests__/jest/components/nodeImpl/__snapshots__

1 file changed

+156
-18
lines changed

__tests__/jest/components/nodeImpl/__snapshots__/Svg.tsx.snap

Lines changed: 156 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,33 @@ Object {
225225
"gradient": Object {
226226
"_class": "gradient",
227227
"elipseLength": 0,
228-
"from": "{0, 0}",
228+
"from": "{0.5, 0}",
229229
"gradientType": 0,
230-
"stops": Array [],
231-
"to": "{1, 1}",
230+
"stops": Array [
231+
Object {
232+
"_class": "gradientStop",
233+
"color": Object {
234+
"_class": "color",
235+
"alpha": 1,
236+
"blue": 1,
237+
"green": 1,
238+
"red": 1,
239+
},
240+
"position": 0,
241+
},
242+
Object {
243+
"_class": "gradientStop",
244+
"color": Object {
245+
"_class": "color",
246+
"alpha": 1,
247+
"blue": 0,
248+
"green": 0,
249+
"red": 0,
250+
},
251+
"position": 1,
252+
},
253+
],
254+
"to": "{0.5, 1}",
232255
},
233256
"isEnabled": true,
234257
"noiseIndex": 0,
@@ -385,10 +408,33 @@ Object {
385408
"gradient": Object {
386409
"_class": "gradient",
387410
"elipseLength": 0,
388-
"from": "{0, 0}",
411+
"from": "{0.5, 0}",
389412
"gradientType": 0,
390-
"stops": Array [],
391-
"to": "{1, 1}",
413+
"stops": Array [
414+
Object {
415+
"_class": "gradientStop",
416+
"color": Object {
417+
"_class": "color",
418+
"alpha": 1,
419+
"blue": 1,
420+
"green": 1,
421+
"red": 1,
422+
},
423+
"position": 0,
424+
},
425+
Object {
426+
"_class": "gradientStop",
427+
"color": Object {
428+
"_class": "color",
429+
"alpha": 1,
430+
"blue": 0,
431+
"green": 0,
432+
"red": 0,
433+
},
434+
"position": 1,
435+
},
436+
],
437+
"to": "{0.5, 1}",
392438
},
393439
"isEnabled": true,
394440
"noiseIndex": 0,
@@ -545,10 +591,33 @@ Object {
545591
"gradient": Object {
546592
"_class": "gradient",
547593
"elipseLength": 0,
548-
"from": "{0, 0}",
594+
"from": "{0.5, 0}",
549595
"gradientType": 0,
550-
"stops": Array [],
551-
"to": "{1, 1}",
596+
"stops": Array [
597+
Object {
598+
"_class": "gradientStop",
599+
"color": Object {
600+
"_class": "color",
601+
"alpha": 1,
602+
"blue": 1,
603+
"green": 1,
604+
"red": 1,
605+
},
606+
"position": 0,
607+
},
608+
Object {
609+
"_class": "gradientStop",
610+
"color": Object {
611+
"_class": "color",
612+
"alpha": 1,
613+
"blue": 0,
614+
"green": 0,
615+
"red": 0,
616+
},
617+
"position": 1,
618+
},
619+
],
620+
"to": "{0.5, 1}",
552621
},
553622
"isEnabled": true,
554623
"noiseIndex": 0,
@@ -705,10 +774,33 @@ Object {
705774
"gradient": Object {
706775
"_class": "gradient",
707776
"elipseLength": 0,
708-
"from": "{0, 0}",
777+
"from": "{0.5, 0}",
709778
"gradientType": 0,
710-
"stops": Array [],
711-
"to": "{1, 1}",
779+
"stops": Array [
780+
Object {
781+
"_class": "gradientStop",
782+
"color": Object {
783+
"_class": "color",
784+
"alpha": 1,
785+
"blue": 1,
786+
"green": 1,
787+
"red": 1,
788+
},
789+
"position": 0,
790+
},
791+
Object {
792+
"_class": "gradientStop",
793+
"color": Object {
794+
"_class": "color",
795+
"alpha": 1,
796+
"blue": 0,
797+
"green": 0,
798+
"red": 0,
799+
},
800+
"position": 1,
801+
},
802+
],
803+
"to": "{0.5, 1}",
712804
},
713805
"isEnabled": true,
714806
"noiseIndex": 0,
@@ -952,10 +1044,33 @@ Object {
9521044
"gradient": Object {
9531045
"_class": "gradient",
9541046
"elipseLength": 0,
955-
"from": "{0, 0}",
1047+
"from": "{0.5, 0}",
9561048
"gradientType": 0,
957-
"stops": Array [],
958-
"to": "{1, 1}",
1049+
"stops": Array [
1050+
Object {
1051+
"_class": "gradientStop",
1052+
"color": Object {
1053+
"_class": "color",
1054+
"alpha": 1,
1055+
"blue": 1,
1056+
"green": 1,
1057+
"red": 1,
1058+
},
1059+
"position": 0,
1060+
},
1061+
Object {
1062+
"_class": "gradientStop",
1063+
"color": Object {
1064+
"_class": "color",
1065+
"alpha": 1,
1066+
"blue": 0,
1067+
"green": 0,
1068+
"red": 0,
1069+
},
1070+
"position": 1,
1071+
},
1072+
],
1073+
"to": "{0.5, 1}",
9591074
},
9601075
"isEnabled": true,
9611076
"noiseIndex": 0,
@@ -1179,10 +1294,33 @@ Object {
11791294
"gradient": Object {
11801295
"_class": "gradient",
11811296
"elipseLength": 0,
1182-
"from": "{0, 0}",
1297+
"from": "{0.5, 0}",
11831298
"gradientType": 0,
1184-
"stops": Array [],
1185-
"to": "{1, 1}",
1299+
"stops": Array [
1300+
Object {
1301+
"_class": "gradientStop",
1302+
"color": Object {
1303+
"_class": "color",
1304+
"alpha": 1,
1305+
"blue": 1,
1306+
"green": 1,
1307+
"red": 1,
1308+
},
1309+
"position": 0,
1310+
},
1311+
Object {
1312+
"_class": "gradientStop",
1313+
"color": Object {
1314+
"_class": "color",
1315+
"alpha": 1,
1316+
"blue": 0,
1317+
"green": 0,
1318+
"red": 0,
1319+
},
1320+
"position": 1,
1321+
},
1322+
],
1323+
"to": "{0.5, 1}",
11861324
},
11871325
"isEnabled": true,
11881326
"noiseIndex": 0,

0 commit comments

Comments
 (0)