Skip to content

Commit

Permalink
Increase tests timeout
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Aug 16, 2020
1 parent 6aa6546 commit 807389a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup-buildx/__tests__/buildx.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'setup-buildx-'));
describe('buildx', () => {
it('is available', async () => {
expect(await buildx.isAvailable()).toBe(true);
});
}, 100000);

it('count builders', async () => {
const countBuilders = await buildx.countBuilders();
console.log(`countBuilders: ${countBuilders}`);
expect(countBuilders).toBeGreaterThan(0);
});
}, 100000);

it('platforms', async () => {
const platforms = await buildx.platforms();
console.log(`platforms: ${platforms}`);
expect(platforms).not.toBeUndefined();
expect(platforms).not.toEqual('');
});
}, 100000);

it('acquires v0.2.2 version of buildx', async () => {
const buildxBin = await buildx.install('v0.2.2', tmpDir);
Expand Down

0 comments on commit 807389a

Please sign in to comment.