Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Nov 1, 2020
1 parent 5b87462 commit af20c6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/installer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ describe('installer', () => {
it('acquires v0.3.1 version of xgo', async () => {
const xgo = await installer.getXgo('v0.3.1');
console.log(xgo);
expect(fs.existsSync(xgo)).toBe(true);
expect(fs.existsSync(xgo.path)).toBe(true);
}, 100000);

it('acquires latest version of xgo', async () => {
const xgo = await installer.getXgo('latest');
console.log(xgo);
expect(fs.existsSync(xgo)).toBe(true);
expect(fs.existsSync(xgo.path)).toBe(true);
}, 100000);
});

0 comments on commit af20c6e

Please sign in to comment.