@@ -740,15 +740,15 @@ describe('SfProject', () => {
740740 const project = SfProject . getInstance ( ) ;
741741 expect ( project . getPackageAliases ( ) ) . to . be . undefined ;
742742 } ) ;
743- it ( 'should return false no aliases are defined' , ( ) => {
743+ it ( 'should return false no aliases are defined' , async ( ) => {
744744 $$ . setConfigStubContents ( 'SfProjectJson' , {
745745 contents : { } ,
746746 } ) ;
747747
748748 const project = SfProject . getInstance ( ) ;
749- expect ( project . hasPackageAliases ( ) ) . to . be . false ;
749+ expect ( await project . hasPackageAliases ( ) ) . to . be . false ;
750750 } ) ;
751- it ( 'should return true when at least one alias is defined' , ( ) => {
751+ it ( 'should return true when at least one alias is defined' , async ( ) => {
752752 $$ . setConfigStubContents ( 'SfProjectJson' , {
753753 contents : {
754754 packageAliases : {
@@ -758,7 +758,7 @@ describe('SfProject', () => {
758758 } ) ;
759759
760760 const project = SfProject . getInstance ( ) ;
761- expect ( project . hasPackageAliases ( ) ) . to . be . true ;
761+ expect ( await project . hasPackageAliases ( ) ) . to . be . true ;
762762 } ) ;
763763 it ( 'should return the defined package aliases' , ( ) => {
764764 $$ . setConfigStubContents ( 'SfProjectJson' , {
@@ -968,15 +968,15 @@ describe('SfProject', () => {
968968 const project = SfProject . getInstance ( ) ;
969969 expect ( project . getSfProjectJson ( ) . getPackageBundleAliases ( ) ) . to . be . undefined ;
970970 } ) ;
971- it ( 'should return false when no bundle aliases are defined' , ( ) => {
971+ it ( 'should return false when no bundle aliases are defined' , async ( ) => {
972972 $$ . setConfigStubContents ( 'SfProjectJson' , {
973973 contents : { } ,
974974 } ) ;
975975
976976 const project = SfProject . getInstance ( ) ;
977- expect ( project . getSfProjectJson ( ) . hasPackageBundleAliases ( ) ) . to . be . false ;
977+ expect ( await project . getSfProjectJson ( ) . hasPackageBundleAliases ( ) ) . to . be . false ;
978978 } ) ;
979- it ( 'should return true when at least one bundle alias is defined' , ( ) => {
979+ it ( 'should return true when at least one bundle alias is defined' , async ( ) => {
980980 $$ . setConfigStubContents ( 'SfProjectJson' , {
981981 contents : {
982982 packageBundleAliases : {
@@ -986,7 +986,7 @@ describe('SfProject', () => {
986986 } ) ;
987987
988988 const project = SfProject . getInstance ( ) ;
989- expect ( project . getSfProjectJson ( ) . hasPackageBundleAliases ( ) ) . to . be . true ;
989+ expect ( await project . getSfProjectJson ( ) . hasPackageBundleAliases ( ) ) . to . be . true ;
990990 } ) ;
991991 it ( 'should return the defined package aliases' , ( ) => {
992992 $$ . setConfigStubContents ( 'SfProjectJson' , {
0 commit comments