@@ -50,7 +50,7 @@ suite('ZipInstaller', () => {
5050 test ( 'The folder is unzipped and all the files are present at the expected paths' , async ( ) => {
5151 await InstallZip ( testZip . buffer , fileDescription , installationPath , [ ] , eventStream ) ;
5252 for ( let elem of testZip . files ) {
53- let filePath = path . join ( installationPath . path , elem . path ) ;
53+ let filePath = path . join ( installationPath . value , elem . path ) ;
5454 expect ( await util . fileExists ( filePath ) ) . to . be . true ;
5555 }
5656 } ) ;
@@ -65,11 +65,11 @@ suite('ZipInstaller', () => {
6565
6666 test ( 'The folder is unzipped and the binaries have the expected permissions(except on Windows)' , async ( ) => {
6767 if ( ! ( ( await PlatformInformation . GetCurrent ( ) ) . isWindows ( ) ) ) {
68- let absoluteBinaries = binaries . map ( binary => AbsolutePath . getAbsolutePath ( installationPath . path , binary . path ) ) ;
68+ let absoluteBinaries = binaries . map ( binary => AbsolutePath . getAbsolutePath ( installationPath . value , binary . path ) ) ;
6969 await InstallZip ( testZip . buffer , fileDescription , installationPath , absoluteBinaries , eventStream ) ;
7070 for ( let binaryPath of absoluteBinaries ) {
71- expect ( await util . fileExists ( binaryPath . path ) ) . to . be . true ;
72- let mode = ( await fs . stat ( binaryPath . path ) ) . mode ;
71+ expect ( await util . fileExists ( binaryPath . value ) ) . to . be . true ;
72+ let mode = ( await fs . stat ( binaryPath . value ) ) . mode ;
7373 expect ( mode & 0o7777 ) . to . be . equal ( 0o755 , `Expected mode for path ${ binaryPath } ` ) ;
7474 }
7575 }
0 commit comments