mirror of
https://github.com/goreleaser/goreleaser-action.git
synced 2026-05-14 23:00:33 +00:00
test: fix github tests
This commit is contained in:
parent
be642f174c
commit
35d40269d0
1 changed files with 2 additions and 2 deletions
|
|
@ -26,9 +26,9 @@ describe('github', () => {
|
|||
expect(release).not.toBeNull();
|
||||
expect(release?.tag_name).toEqual('v0.166.0-pro');
|
||||
});
|
||||
it('returns v0.166.0-pro GoReleaser Pro GitHub release when using semver', async () => {
|
||||
it('returns v0.166.1-pro GoReleaser Pro GitHub release when using semver', async () => {
|
||||
const release = await github.getRelease('goreleaser-pro', '~> 0.166');
|
||||
expect(release).not.toBeNull();
|
||||
expect(release?.tag_name).toEqual('v0.166.0-pro');
|
||||
expect(release?.tag_name).toEqual('v0.166.1-pro');
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue