Skip to content

Commit b7afcda

Browse files
committed
fix test
1 parent 8b1030f commit b7afcda

File tree

2 files changed

+2
-284
lines changed

2 files changed

+2
-284
lines changed

__tests__/main.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ describe("installer tests", () => {
5858
describe("Gets the latest release of Task", () => {
5959
beforeEach(() => {
6060
nock("https://api.github.com")
61-
.get("/repos/go-task/task/git/refs/tags")
62-
.replyWithFile(200, path.join(dataDir, "tags.json"));
61+
.get("/repos/go-task/task/releases")
62+
.replyWithFile(200, path.join(dataDir, "releases.json"));
6363
});
6464

6565
afterEach(() => {

__tests__/testdata/tags.json

Lines changed: 0 additions & 282 deletions
This file was deleted.

0 commit comments

Comments
 (0)