Fix tests

This commit is contained in:
CrazyMax 2020-08-21 16:33:18 +02:00
parent 64702f4db1
commit a5ba64f65e
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -24,7 +24,7 @@ describe('execCLI', () => {
const cliCmdOutput = await aws.execCLI(['--version']); const cliCmdOutput = await aws.execCLI(['--version']);
console.log(`cliCmdOutput: ${cliCmdOutput}`); console.log(`cliCmdOutput: ${cliCmdOutput}`);
expect(cliCmdOutput).not.toEqual(''); expect(cliCmdOutput).not.toEqual('');
}); }, 100000);
}); });
describe('getCLIVersion', () => { describe('getCLIVersion', () => {
@ -32,7 +32,7 @@ describe('getCLIVersion', () => {
const cliVersion = await aws.getCLIVersion(); const cliVersion = await aws.getCLIVersion();
console.log(`cliVersion: ${cliVersion}`); console.log(`cliVersion: ${cliVersion}`);
expect(semver.valid(cliVersion)).not.toBeNull(); expect(semver.valid(cliVersion)).not.toBeNull();
}); }, 100000);
}); });
describe('parseCLIVersion', () => { describe('parseCLIVersion', () => {