Skip to content

Commit 120216f

Browse files
committed
add new snapshots
1 parent 4020707 commit 120216f

File tree

6 files changed

+103
-103
lines changed

6 files changed

+103
-103
lines changed

__tests__/__snapshots__/constructors-standings.test.ts.snap

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
exports[`constrcutor standings 1`] = `
44
[
55
{
6-
"points": 374,
6+
"points": 417,
77
"position": 1,
88
"team": "McLaren",
99
},
1010
{
11-
"points": 199,
11+
"points": 210,
1212
"position": 2,
13-
"team": "Mercedes",
13+
"team": "Ferrari",
1414
},
1515
{
16-
"points": 183,
16+
"points": 209,
1717
"position": 3,
18-
"team": "Ferrari",
18+
"team": "Mercedes",
1919
},
2020
{
2121
"points": 162,
@@ -28,22 +28,22 @@ exports[`constrcutor standings 1`] = `
2828
"team": "Williams",
2929
},
3030
{
31-
"points": 28,
31+
"points": 36,
3232
"position": 6,
33-
"team": "Haas",
33+
"team": "Racing Bulls",
3434
},
3535
{
36-
"points": 28,
36+
"points": 29,
3737
"position": 7,
38-
"team": "Racing Bulls",
38+
"team": "Haas",
3939
},
4040
{
41-
"points": 22,
41+
"points": 28,
4242
"position": 8,
4343
"team": "Aston Martin",
4444
},
4545
{
46-
"points": 20,
46+
"points": 26,
4747
"position": 9,
4848
"team": "Kick Sauber",
4949
},

__tests__/__snapshots__/driver-lineup.test.ts.snap

Lines changed: 32 additions & 32 deletions
Large diffs are not rendered by default.

__tests__/__snapshots__/driver-standings.test.ts.snap

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ exports[`driver standings 1`] = `
55
{
66
"driver": "Oscar Piastri",
77
"nationality": "AUS",
8-
"points": 198,
8+
"points": 216,
99
"position": 1,
1010
"team": "McLaren",
1111
},
1212
{
1313
"driver": "Lando Norris",
1414
"nationality": "GBR",
15-
"points": 176,
15+
"points": 201,
1616
"position": 2,
1717
"team": "McLaren",
1818
},
@@ -26,21 +26,21 @@ exports[`driver standings 1`] = `
2626
{
2727
"driver": "George Russell",
2828
"nationality": "GBR",
29-
"points": 136,
29+
"points": 146,
3030
"position": 4,
3131
"team": "Mercedes",
3232
},
3333
{
3434
"driver": "Charles Leclerc",
3535
"nationality": "MON",
36-
"points": 104,
36+
"points": 119,
3737
"position": 5,
3838
"team": "Ferrari",
3939
},
4040
{
4141
"driver": "Lewis Hamilton",
4242
"nationality": "GBR",
43-
"points": 79,
43+
"points": 91,
4444
"position": 6,
4545
"team": "Ferrari",
4646
},
@@ -61,23 +61,23 @@ exports[`driver standings 1`] = `
6161
{
6262
"driver": "Esteban Ocon",
6363
"nationality": "FRA",
64-
"points": 22,
64+
"points": 23,
6565
"position": 9,
6666
"team": "Haas",
6767
},
6868
{
69-
"driver": "Isack Hadjar",
70-
"nationality": "FRA",
71-
"points": 21,
69+
"driver": "Nico Hulkenberg",
70+
"nationality": "GER",
71+
"points": 22,
7272
"position": 10,
73-
"team": "Racing Bulls",
73+
"team": "Kick Sauber",
7474
},
7575
{
76-
"driver": "Nico Hulkenberg",
77-
"nationality": "GER",
78-
"points": 20,
76+
"driver": "Isack Hadjar",
77+
"nationality": "FRA",
78+
"points": 21,
7979
"position": 11,
80-
"team": "Kick Sauber",
80+
"team": "Racing Bulls",
8181
},
8282
{
8383
"driver": "Lance Stroll",
@@ -86,52 +86,52 @@ exports[`driver standings 1`] = `
8686
"position": 12,
8787
"team": "Aston Martin",
8888
},
89+
{
90+
"driver": "Fernando Alonso",
91+
"nationality": "ESP",
92+
"points": 14,
93+
"position": 13,
94+
"team": "Aston Martin",
95+
},
8996
{
9097
"driver": "Carlos Sainz",
9198
"nationality": "ESP",
9299
"points": 13,
93-
"position": 13,
100+
"position": 14,
94101
"team": "Williams",
95102
},
103+
{
104+
"driver": "Liam Lawson",
105+
"nationality": "NZL",
106+
"points": 12,
107+
"position": 15,
108+
"team": "Racing Bulls",
109+
},
96110
{
97111
"driver": "Pierre Gasly",
98112
"nationality": "FRA",
99113
"points": 11,
100-
"position": 14,
114+
"position": 16,
101115
"team": "Alpine",
102116
},
103117
{
104118
"driver": "Yuki Tsunoda",
105119
"nationality": "JPN",
106120
"points": 10,
107-
"position": 15,
121+
"position": 17,
108122
"team": "Red Bull Racing",
109123
},
110-
{
111-
"driver": "Fernando Alonso",
112-
"nationality": "ESP",
113-
"points": 8,
114-
"position": 16,
115-
"team": "Aston Martin",
116-
},
117124
{
118125
"driver": "Oliver Bearman",
119126
"nationality": "GBR",
120127
"points": 6,
121-
"position": 17,
122-
"team": "Haas",
123-
},
124-
{
125-
"driver": "Liam Lawson",
126-
"nationality": "NZL",
127-
"points": 4,
128128
"position": 18,
129-
"team": "Racing Bulls",
129+
"team": "Haas",
130130
},
131131
{
132132
"driver": "Gabriel Bortoleto",
133133
"nationality": "BRA",
134-
"points": 0,
134+
"points": 4,
135135
"position": 19,
136136
"team": "Kick Sauber",
137137
},

__tests__/__snapshots__/fastest-laps.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,4 @@ exports[`fastest laps 1`] = `
147147
"time": "1:25.637",
148148
},
149149
]
150-
`;
150+
`;

__tests__/__snapshots__/race-schedule.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,4 @@ exports[`get race schedule 1`] = `
153153
"round": "ROUND 24",
154154
},
155155
]
156-
`;
156+
`;

__tests__/__snapshots__/team-lineup.test.ts.snap

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,7 @@ exports[`current teams data 1`] = `
1010
"Lando Norris",
1111
],
1212
"name": "McLaren",
13-
"points": 374,
14-
},
15-
{
16-
"carImage": "https://media.formula1.com/image/upload/c_lfill,h_224/q_auto/d_common:f1:2025:fallback:car:2025fallbackcarright.webp/v1740000000/common/f1/2025/mercedes/2025mercedescarright.webp",
17-
"carLogo": "https://media.formula1.com/image/upload/c_lfill,w_48/q_auto/v1740000000/common/f1/2025/mercedes/2025mercedeslogowhite.webp",
18-
"drivers": [
19-
"George Russell",
20-
"Kimi Antonelli",
21-
],
22-
"name": "Mercedes",
23-
"points": 199,
13+
"points": 417,
2414
},
2515
{
2616
"carImage": "https://media.formula1.com/image/upload/c_lfill,h_224/q_auto/d_common:f1:2025:fallback:car:2025fallbackcarright.webp/v1740000000/common/f1/2025/ferrari/2025ferraricarright.webp",
@@ -30,7 +20,17 @@ exports[`current teams data 1`] = `
3020
"Lewis Hamilton",
3121
],
3222
"name": "Ferrari",
33-
"points": 183,
23+
"points": 210,
24+
},
25+
{
26+
"carImage": "https://media.formula1.com/image/upload/c_lfill,h_224/q_auto/d_common:f1:2025:fallback:car:2025fallbackcarright.webp/v1740000000/common/f1/2025/mercedes/2025mercedescarright.webp",
27+
"carLogo": "https://media.formula1.com/image/upload/c_lfill,w_48/q_auto/v1740000000/common/f1/2025/mercedes/2025mercedeslogowhite.webp",
28+
"drivers": [
29+
"George Russell",
30+
"Kimi Antonelli",
31+
],
32+
"name": "Mercedes",
33+
"points": 209,
3434
},
3535
{
3636
"carImage": "https://media.formula1.com/image/upload/c_lfill,h_224/q_auto/d_common:f1:2025:fallback:car:2025fallbackcarright.webp/v1740000000/common/f1/2025/redbullracing/2025redbullracingcarright.webp",
@@ -52,16 +52,6 @@ exports[`current teams data 1`] = `
5252
"name": "Williams",
5353
"points": 55,
5454
},
55-
{
56-
"carImage": "https://media.formula1.com/image/upload/c_lfill,h_224/q_auto/d_common:f1:2025:fallback:car:2025fallbackcarright.webp/v1740000000/common/f1/2025/haas/2025haascarright.webp",
57-
"carLogo": "https://media.formula1.com/image/upload/c_lfill,w_48/q_auto/v1740000000/common/f1/2025/haas/2025haaslogowhite.webp",
58-
"drivers": [
59-
"Esteban Ocon",
60-
"Oliver Bearman",
61-
],
62-
"name": "Haas",
63-
"points": 28,
64-
},
6555
{
6656
"carImage": "https://media.formula1.com/image/upload/c_lfill,h_224/q_auto/d_common:f1:2025:fallback:car:2025fallbackcarright.webp/v1740000000/common/f1/2025/racingbulls/2025racingbullscarright.webp",
6757
"carLogo": "https://media.formula1.com/image/upload/c_lfill,w_48/q_auto/v1740000000/common/f1/2025/racingbulls/2025racingbullslogowhite.webp",
@@ -70,7 +60,17 @@ exports[`current teams data 1`] = `
7060
"Isack Hadjar",
7161
],
7262
"name": "Racing Bulls",
73-
"points": 28,
63+
"points": 36,
64+
},
65+
{
66+
"carImage": "https://media.formula1.com/image/upload/c_lfill,h_224/q_auto/d_common:f1:2025:fallback:car:2025fallbackcarright.webp/v1740000000/common/f1/2025/haas/2025haascarright.webp",
67+
"carLogo": "https://media.formula1.com/image/upload/c_lfill,w_48/q_auto/v1740000000/common/f1/2025/haas/2025haaslogowhite.webp",
68+
"drivers": [
69+
"Esteban Ocon",
70+
"Oliver Bearman",
71+
],
72+
"name": "Haas",
73+
"points": 29,
7474
},
7575
{
7676
"carImage": "https://media.formula1.com/image/upload/c_lfill,h_224/q_auto/d_common:f1:2025:fallback:car:2025fallbackcarright.webp/v1740000000/common/f1/2025/astonmartin/2025astonmartincarright.webp",
@@ -80,7 +80,7 @@ exports[`current teams data 1`] = `
8080
"Fernando Alonso",
8181
],
8282
"name": "Aston Martin",
83-
"points": 22,
83+
"points": 28,
8484
},
8585
{
8686
"carImage": "https://media.formula1.com/image/upload/c_lfill,h_224/q_auto/d_common:f1:2025:fallback:car:2025fallbackcarright.webp/v1740000000/common/f1/2025/kicksauber/2025kicksaubercarright.webp",
@@ -90,7 +90,7 @@ exports[`current teams data 1`] = `
9090
"Gabriel Bortoleto",
9191
],
9292
"name": "Kick Sauber",
93-
"points": 20,
93+
"points": 26,
9494
},
9595
{
9696
"carImage": "https://media.formula1.com/image/upload/c_lfill,h_224/q_auto/d_common:f1:2025:fallback:car:2025fallbackcarright.webp/v1740000000/common/f1/2025/alpine/2025alpinecarright.webp",

0 commit comments

Comments
 (0)