@@ -649,8 +649,8 @@ describe('Atlassian Compass generator tests', () => {
649649 expect ( service ) . toBeDefined ( ) ;
650650 // my-service depends on my-application and my-library
651651 expect ( service . markdown ) . toContain ( '## Dependencies' ) ;
652- expect ( service . markdown ) . toContain ( '[my-application](../../ my-application/)' ) ;
653- expect ( service . markdown ) . toContain ( '[my-library](../../ my-library/)' ) ;
652+ expect ( service . markdown ) . toContain ( '[my-application](../my-application/)' ) ;
653+ expect ( service . markdown ) . toContain ( '[my-library](../my-library/)' ) ;
654654 } ) ;
655655
656656 it ( 'resolves partial dependencies when only some targets are processed' , async ( ) => {
@@ -664,7 +664,7 @@ describe('Atlassian Compass generator tests', () => {
664664
665665 const service = await getService ( 'my-service' ) ;
666666 expect ( service ) . toBeDefined ( ) ;
667- expect ( service . markdown ) . toContain ( '[my-application](../../ my-application/)' ) ;
667+ expect ( service . markdown ) . toContain ( '[my-application](../my-application/)' ) ;
668668 // my-library was not processed, so it should not appear as a resolved dependency link
669669 expect ( service . markdown ) . not . toContain ( '[my-library]' ) ;
670670 } ) ;
@@ -699,7 +699,7 @@ describe('Atlassian Compass generator tests', () => {
699699 const service = await getService ( 'my-other-component' ) ;
700700 expect ( service ) . toBeDefined ( ) ;
701701 // Should resolve the one that exists
702- expect ( service . markdown ) . toContain ( '[my-application](../../ my-application/)' ) ;
702+ expect ( service . markdown ) . toContain ( '[my-application](../my-application/)' ) ;
703703 // Should not crash due to the non-existent dependency
704704 } ) ;
705705
@@ -718,8 +718,8 @@ describe('Atlassian Compass generator tests', () => {
718718 const service = await getService ( 'custom-service' ) ;
719719 expect ( service ) . toBeDefined ( ) ;
720720 // Dependencies should use custom IDs
721- expect ( service . markdown ) . toContain ( '[my-application](../../ custom-app/)' ) ;
722- expect ( service . markdown ) . toContain ( '[my-library](../../ custom-lib/)' ) ;
721+ expect ( service . markdown ) . toContain ( '[my-application](../custom-app/)' ) ;
722+ expect ( service . markdown ) . toContain ( '[my-library](../custom-lib/)' ) ;
723723 } ) ;
724724
725725 it ( 'includes resolved dependencies in service markdown within a domain' , async ( ) => {
@@ -746,8 +746,8 @@ describe('Atlassian Compass generator tests', () => {
746746 const service = await getService ( 'my-service' ) ;
747747 expect ( service ) . toBeDefined ( ) ;
748748 expect ( service . markdown ) . toContain ( '## Dependencies' ) ;
749- expect ( service . markdown ) . toContain ( '[my-application](../../ my-application/)' ) ;
750- expect ( service . markdown ) . toContain ( '[my-library](../../ my-library/)' ) ;
749+ expect ( service . markdown ) . toContain ( '[my-application](../my-application/)' ) ;
750+ expect ( service . markdown ) . toContain ( '[my-library](../my-library/)' ) ;
751751 } ) ;
752752 } ) ;
753753
0 commit comments