@@ -480,13 +480,25 @@ describe('PathTracker', () => {
480480 } )
481481
482482 it ( 'should activate downstream paths when router selects a target' , ( ) => {
483+ < < < << << HEAD
483484 // Mock router output selecting api1 - based on implementation, it expects selectedPath directly
484485 mockContext . blockStates . set ( 'router1 ', {
485486 output : {
486487 selectedPath : {
487488 blockId : 'api1' ,
488489 blockType : 'api' ,
489490 blockTitle : 'API 1' ,
491+ === === =
492+ // Mock router output selecting api1
493+ mockContext . blockStates . set ( 'router1' , {
494+ output : {
495+ response : {
496+ selectedPath : {
497+ blockId : 'api1' ,
498+ blockType : 'api' ,
499+ blockTitle : 'API 1' ,
500+ } ,
501+ > >>> >>> 9 aff331c ( fix ( executor ) : fix dependency resolution , allow blocks with multiple inputs to execute ( #598 ) )
490502 } ,
491503 } ,
492504 executed : true ,
@@ -519,13 +531,25 @@ describe('PathTracker', () => {
519531
520532 pathTracker = new PathTracker ( mockWorkflow )
521533
534+ << < < < << HEAD
522535 // Mock router output selecting api1 - based on implementation, it expects selectedPath directly
523536 mockContext . blockStates . set ( 'router1' , {
524537 output : {
525538 selectedPath : {
526539 blockId : 'api1' ,
527540 blockType : 'api' ,
528541 blockTitle : 'API 1' ,
542+ = === ===
543+ // Mock router output selecting api1
544+ mockContext . blockStates . set ( 'router1' , {
545+ output : {
546+ response : {
547+ selectedPath : {
548+ blockId : 'api1' ,
549+ blockType : 'api' ,
550+ blockTitle : 'API 1' ,
551+ } ,
552+ > >>> >>> 9 aff331c ( fix ( executor ) : fix dependency resolution , allow blocks with multiple inputs to execute ( #598 ) )
529553 } ,
530554 } ,
531555 executed : true ,
@@ -550,10 +574,19 @@ describe('PathTracker', () => {
550574
551575 mockContext . blockStates . set ( 'router1' , {
552576 output : {
577+ < << << << HEAD
553578 selectedPath : {
554579 blockId : 'api1' ,
555580 blockType : 'api' ,
556581 blockTitle : 'API 1' ,
582+ = === ===
583+ response : {
584+ selectedPath : {
585+ blockId : 'api1' ,
586+ blockType : 'api' ,
587+ blockTitle : 'API 1' ,
588+ } ,
589+ > >>> >>> 9 aff331c ( fix ( executor ) : fix dependency resolution , allow blocks with multiple inputs to execute ( #598 ) )
557590 } ,
558591 } ,
559592 executed : true ,
@@ -584,10 +617,19 @@ describe('PathTracker', () => {
584617
585618 mockContext . blockStates . set ( 'router1' , {
586619 output : {
620+ < << << << HEAD
587621 selectedPath : {
588622 blockId : 'api1' ,
589623 blockType : 'api' ,
590624 blockTitle : 'API 1' ,
625+ = === ===
626+ response : {
627+ selectedPath : {
628+ blockId : 'api1' ,
629+ blockType : 'api' ,
630+ blockTitle : 'API 1' ,
631+ } ,
632+ > >>> >>> 9 aff331c ( fix ( executor ) : fix dependency resolution , allow blocks with multiple inputs to execute ( #598 ) )
591633 } ,
592634 } ,
593635 executed : true ,
0 commit comments