mirror of
https://github.com/docker/login-action.git
synced 2024-11-23 09:16:08 +08:00
Fix tests
This commit is contained in:
parent
64702f4db1
commit
a5ba64f65e
@ -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', () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user