File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const matchData = {
1717 } ,
1818 leg : '1' ,
1919 homeTeam : {
20- id : '1 ' ,
20+ id : '44 ' ,
2121 name : 'Home Team' ,
2222 } ,
2323 awayTeam : {
Original file line number Diff line number Diff line change @@ -48,7 +48,12 @@ export const Fixture = {
4848 matchKind : 'Fixture' ,
4949 } ,
5050 edition : 'UK' ,
51- getHeaderData : ( ) => Promise . resolve ( feHeaderData ) ,
51+ getHeaderData : ( ) =>
52+ Promise . resolve ( {
53+ ...feHeaderData ,
54+ liveURL : undefined ,
55+ reportURL : undefined ,
56+ } ) ,
5257 refreshInterval : 3_000 ,
5358 matchHeaderURL : new URL (
5459 'https://api.nextgen.guardianapps.co.uk/football/api/match-header/2026/02/08/26247/48490.json' ,
@@ -58,7 +63,7 @@ export const Fixture = {
5863
5964export const Live = {
6065 args : {
61- leagueName : Fixture . args . leagueName ,
66+ leagueName : feHeaderData . competitionName ,
6267 match : {
6368 ...Fixture . args . match ,
6469 kind : 'Live' ,
@@ -87,7 +92,9 @@ export const Live = {
8792 ) ,
8893 } ,
8994 edition : 'EUR' ,
90- matchHeaderURL : Fixture . args . matchHeaderURL ,
95+ matchHeaderURL : new URL (
96+ 'https://api.nextgen.guardianapps.co.uk/football/api/match-header/2026/02/11/39/9.json' ,
97+ ) ,
9198 refreshInterval : Fixture . args . refreshInterval ,
9299 getHeaderData : ( ) =>
93100 Promise . resolve ( {
@@ -110,7 +117,9 @@ export const Result = {
110117 matchKind : 'Result' ,
111118 } ,
112119 edition : 'AU' ,
113- matchHeaderURL : Fixture . args . matchHeaderURL ,
120+ matchHeaderURL : new URL (
121+ 'https://api.nextgen.guardianapps.co.uk/football/api/match-header/2026/02/10/45/42.json' ,
122+ ) ,
114123 refreshInterval : Fixture . args . refreshInterval ,
115124 getHeaderData : ( ) =>
116125 Promise . resolve ( {
You can’t perform that action at this time.
0 commit comments