Skip to content

Commit 1d63450

Browse files
committed
chore: fix install tests
1 parent 55a7bdf commit 1d63450

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

standalone/install.jest.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
});

standalone/install.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)