Fix tests

pull/3/head v1.3.0
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
1 changed files with 2 additions and 2 deletions

View File

@ -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', () => {