@@ -260,6 +260,10 @@ describe('output export fallback helpers', () => {
260260 expect ( result ) . not . toBeNull ( )
261261 expect ( result ?. fallbackUrl . pathname ) . toBe ( '/docs/__fallback/__route_0' )
262262 expect ( fetchMock . mock . calls . map ( ( [ url ] ) => String ( url ) ) ) . toEqual ( [
263+ 'https://example.com/docs/api/reference/__fallback.txt' ,
264+ 'https://example.com/docs/api/reference/__fallback.meta.json' ,
265+ 'https://example.com/docs/api/__fallback.txt' ,
266+ 'https://example.com/docs/api/__fallback.meta.json' ,
263267 'https://example.com/docs/__fallback.txt' ,
264268 'https://example.com/docs/__fallback.meta.json' ,
265269 'https://example.com/docs/__fallback/__route_0.txt' ,
@@ -449,9 +453,15 @@ describe('output export fallback helpers', () => {
449453 )
450454
451455 expect ( fetchMock . mock . calls . map ( ( [ url ] ) => String ( url ) ) ) . toEqual ( [
456+ 'https://example.com/docs/api/reference/__fallback.txt' ,
457+ 'https://example.com/docs/api/reference/__fallback.meta.json' ,
458+ 'https://example.com/docs/api/__fallback.txt' ,
459+ 'https://example.com/docs/api/__fallback.meta.json' ,
452460 'https://example.com/docs/__fallback.txt' ,
453461 'https://example.com/docs/__fallback.meta.json' ,
454462 'https://example.com/docs/__fallback/__route_0.txt' ,
463+ 'https://example.com/docs/api/guide/__fallback.txt' ,
464+ 'https://example.com/docs/api/guide/__fallback.meta.json' ,
455465 ] )
456466 } )
457467} )
0 commit comments