Skip to content

Commit

Permalink
ci: increase timeout for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jan 22, 2024
1 parent 84d90d7 commit da4a986
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions test/api-workspace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe("api", () => {
});
await executeAddDependencySpy();
expect(addDependencySpy).toHaveReturned();
}, 30_000);
}, 60_000);

it("removes dependency from workspace root", async () => {
const removeDependencySpy = vi.fn(removeDependency);
Expand All @@ -27,7 +27,7 @@ describe("api", () => {
});
await executeRemoveDependencySpy();
expect(removeDependencySpy).toHaveReturned();
}, 30_000);
}, 60_000);

const workspaceRef =
fixture.name === "yarn-classic-workspace"
Expand All @@ -44,7 +44,7 @@ describe("api", () => {
});
await executeAddDependencySpy();
expect(addDependencySpy).toHaveReturned();
}, 30_000);
}, 60_000);

it("removes dependency from workspace package", async () => {
const removeDependencySpy = vi.fn(removeDependency);
Expand All @@ -56,7 +56,7 @@ describe("api", () => {
});
await executeRemoveDependencySpy();
expect(removeDependencySpy).toHaveReturned();
}, 30_000);
}, 60_000);
});
}
});
6 changes: 3 additions & 3 deletions test/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe("api (workspace)", () => {
});
await executeInstallDependenciesSpy();
expect(installDependenciesSpy).toHaveReturned();
}, 30_000);
}, 60_000);

it("adds dependency", async () => {
const addDependencySpy = vi.fn(addDependency);
Expand All @@ -31,7 +31,7 @@ describe("api (workspace)", () => {

await executeAddDependencySpy();
expect(addDependencySpy).toHaveReturned();
}, 30_000);
}, 60_000);

it("ensures dependency is installed", async () => {
const ensureDependencyInstalledSpy = vi.fn(ensureDependencyInstalled);
Expand All @@ -56,7 +56,7 @@ describe("api (workspace)", () => {

await executeRemoveDependencySpy();
expect(removeDependencySpy).toHaveReturned();
}, 30_000);
}, 60_000);
});
}
});

0 comments on commit da4a986

Please sign in to comment.