Skip to content

Commit 88d9da2

Browse files
committed
fix test
1 parent 2f51320 commit 88d9da2

File tree

3 files changed

+37624
-14
lines changed

3 files changed

+37624
-14
lines changed

__tests__/main.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ 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/releases")
61+
.get("/repos/go-task/task/releases?per_page=100")
6262
.replyWithFile(200, path.join(dataDir, "releases.json"));
6363
});
6464

@@ -81,7 +81,7 @@ describe("installer tests", () => {
8181

8282
it("Gets latest version of Task using 3.x and no matching version is installed", async () => {
8383
await installer.getTask("3.x", "");
84-
const taskdir = path.join(toolDir, "task", "3.37.2", os.arch());
84+
const taskdir = path.join(toolDir, "task", "3.43.2", os.arch());
8585

8686
expect(fs.existsSync(`${taskdir}.complete`)).toBe(true);
8787
if (IS_WINDOWS) {

0 commit comments

Comments
 (0)