File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -618,7 +618,17 @@ test.describe("route module link export", () => {
618618 let app = new PlaywrightFixture ( appFixture , page ) ;
619619 await app . goto ( "/" ) ;
620620 let scripts = await page . $$ ( "script" ) ;
621- expect ( scripts . length ) . toEqual ( 6 ) ;
621+
622+ // Scripts:
623+ // RR: window.__reactRouterContext
624+ // RR: window.__reactRouterManifest/window.__reactRouterRouteModules
625+ // React: requestAnimationFrame(function(){$RT=performance.now()});
626+ // RR: window.__reactRouterContext.streamController.enqueue()
627+ // React: $RC=function(b,c,e){...
628+ // RR: window.__reactRouterContext.streamController.close();
629+ // React: $RC("B:1","S:1")
630+ expect ( scripts . length ) . toEqual ( 7 ) ;
631+
622632 expect ( await scripts [ 0 ] . innerText ( ) ) . toContain (
623633 "__reactRouterContext" ,
624634 ) ;
You can’t perform that action at this time.
0 commit comments