File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -106,19 +106,19 @@ describe('Install', () => {
106106 describe ( 'Skip install binary' , ( ) => {
107107 it ( 'Should not download it' , async ( ) => {
108108 process . env . PACT_SKIP_BINARY_INSTALL = 'true' ;
109- const { binaryInstallSkipped } = await install ( 'linux' , 'ia32 ' ) ;
109+ const { binaryInstallSkipped } = await install ( 'linux' , 'x64 ' ) ;
110110 expect ( binaryInstallSkipped ) . toBeTruthy ( ) ;
111111 } ) ;
112112
113113 it ( 'Should download it' , async ( ) => {
114- const { binaryChecksum, binary } = getBinaryEntry ( 'linux' , 'ia32 ' ) ;
114+ const { binaryChecksum, binary } = getBinaryEntry ( 'linux' , 'x64 ' ) ;
115115 ( ( fs as unknown ) as FS ) . initFS ( {
116116 [ path . join ( __dirname , binary ) ] : 'mock binary' ,
117117 [ path . join ( __dirname , binaryChecksum ) ] : 'mock binary checksum' ,
118118 } ) ;
119119
120120 process . env . PACT_SKIP_BINARY_INSTALL = 'false' ;
121- const { binaryInstallSkipped } = await install ( 'linux' , 'ia32 ' ) ;
121+ const { binaryInstallSkipped } = await install ( 'linux' , 'x64 ' ) ;
122122 expect ( binaryInstallSkipped ) . toBeFalsy ( ) ;
123123 } ) ;
124124 } ) ;
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ export function createConfig(location: string = process.cwd()): Config {
106106 binaryChecksum : `pact-${ PACT_STANDALONE_VERSION } -linux-x86_64.tar.gz${ CHECKSUM_SUFFIX } ` ,
107107 downloadLocation : PACT_BINARY_LOCATION ,
108108 folderName : `linux-x64-${ PACT_STANDALONE_VERSION } ` ,
109- }
109+ } ,
110110 ] ,
111111 } ;
112112}
You can’t perform that action at this time.
0 commit comments