File tree Expand file tree Collapse file tree
tests/integration/rsc-mf/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -560,10 +560,14 @@ function runTests({ mode }: TestConfig) {
560560 expect ( runtimeInitSource ) . toContain ( 'bootstrapServerCallback' ) ;
561561 expect ( runtimeInitSource ) . toContain ( 'callbackBootstrapPromise' ) ;
562562 expect ( runtimeInitSource ) . toContain ( "import('./registerServerCallback')" ) ;
563+ expect ( runtimeInitSource ) . toContain ( 'window.location.origin' ) ;
564+ expect ( runtimeInitSource ) . toContain ( 'window.location.pathname' ) ;
563565 expect ( runtimeInitSource ) . toContain ( 'callbackBootstrapPromise.catch' ) ;
564566 expect ( runtimeInitSource ) . toContain (
565567 'callbackBootstrapPromise = undefined' ,
566568 ) ;
569+ expect ( runtimeInitSource ) . not . toContain ( 'RSC_MF_REMOTE_PORT' ) ;
570+ expect ( runtimeInitSource ) . not . toContain ( '127.0.0.1:' ) ;
567571 expect ( runtimeInitSource ) . not . toContain (
568572 "from './registerServerCallback'" ,
569573 ) ;
You can’t perform that action at this time.
0 commit comments