diff --git a/__tests__/git.test.ts b/__tests__/git.test.ts index 28ca68bb..e943b29c 100644 --- a/__tests__/git.test.ts +++ b/__tests__/git.test.ts @@ -3,7 +3,6 @@ import * as git from '../src/git'; describe('git', () => { it('returns git tag', async () => { const tag: string = await git.getTag(); - console.log(tag); expect(tag).not.toEqual(''); }); it('checks if tag is dirty', async () => { @@ -11,7 +10,6 @@ describe('git', () => { }); it('returns short commit', async () => { const commit: string = await git.getShortCommit(); - console.log(commit); expect(commit).not.toEqual(''); }); }); diff --git a/__tests__/github.test.ts b/__tests__/github.test.ts index 3ae9bdc9..558f2988 100644 --- a/__tests__/github.test.ts +++ b/__tests__/github.test.ts @@ -3,13 +3,11 @@ import * as github from '../src/github'; describe('github', () => { it('returns latest GoReleaser GitHub release', async () => { const release = await github.getRelease('latest'); - console.log(release); expect(release).not.toBeNull(); expect(release?.tag_name).not.toEqual(''); }); it('returns v0.117.0 GoReleaser GitHub release', async () => { const release = await github.getRelease('v0.117.0'); - console.log(release); expect(release).not.toBeNull(); expect(release?.tag_name).toEqual('v0.117.0'); }); diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index f6fc8d33..ff8d236b 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -4,13 +4,11 @@ import * as installer from '../src/installer'; describe('installer', () => { it('acquires v0.117.0 version of GoReleaser', async () => { const goreleaser = await installer.getGoReleaser('v0.117.0'); - console.log(goreleaser); expect(fs.existsSync(goreleaser)).toBe(true); }, 100000); it('acquires latest version of GoReleaser', async () => { const goreleaser = await installer.getGoReleaser('latest'); - console.log(goreleaser); expect(fs.existsSync(goreleaser)).toBe(true); }, 100000); });