File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ describe('SfProject', () => {
3333 const json = await SfProjectJson . create ( ) ;
3434 json . set ( 'packageAliases' , { MyName : 'somePackage' } ) ;
3535 await json . write ( ) ;
36- expect ( $$ . getConfigStubContents ( 'SfProjectJson' ) . packageAliases ! [ 'MyName' ] ) . to . equal ( 'somePackage' ) ;
36+ expect ( ( $$ . getConfigStubContents ( 'SfProjectJson' ) . packageAliases as any ) [ 'MyName' ] ) . to . equal ( 'somePackage' ) ;
3737 } ) ;
3838 it ( 'allows uppercase packaging aliases on read' , async ( ) => {
3939 $$ . setConfigStubContents ( 'SfProjectJson' , { contents : { packageAliases : { MyName : 'somePackage' } } } ) ;
@@ -61,7 +61,7 @@ describe('SfProject', () => {
6161 const json = await SfProjectJson . create ( ) ;
6262 json . set ( 'packageBundleAliases' , { MyName : 'someBundle' } ) ;
6363 await json . write ( ) ;
64- expect ( $$ . getConfigStubContents ( 'SfProjectJson' ) . packageBundleAliases ! [ 'MyName' ] ) . to . equal ( 'someBundle' ) ;
64+ expect ( ( $$ . getConfigStubContents ( 'SfProjectJson' ) . packageBundleAliases as any ) [ 'MyName' ] ) . to . equal ( 'someBundle' ) ;
6565 } ) ;
6666 it ( 'allows uppercase packaging aliases on read' , async ( ) => {
6767 $$ . setConfigStubContents ( 'SfProjectJson' , { contents : { packageBundleAliases : { MyName : 'someBundle' } } } ) ;
You can’t perform that action at this time.
0 commit comments