test: Add unit testing
This commit is contained in:
parent
92ff9cca3e
commit
c4e1e715b8
3 changed files with 4 additions and 8 deletions
|
|
@ -57,7 +57,6 @@ describe('getLatestVersion()', () => {
|
|||
.get(`/api/formula/${Tool.Repo}.json`)
|
||||
.reply(404);
|
||||
|
||||
// const versionLatest = await getLatestVersion(Tool.Org, Tool.Repo, 'brew');
|
||||
await expect(
|
||||
getLatestVersion(Tool.Org, Tool.Repo, 'brew')
|
||||
).rejects.toThrowError(FetchError);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue