Skip to content

Commit da4a986

Browse files
committed
ci: increase timeout for windows
1 parent 84d90d7 commit da4a986

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

test/api-workspace.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe("api", () => {
1515
});
1616
await executeAddDependencySpy();
1717
expect(addDependencySpy).toHaveReturned();
18-
}, 30_000);
18+
}, 60_000);
1919

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

3232
const workspaceRef =
3333
fixture.name === "yarn-classic-workspace"
@@ -44,7 +44,7 @@ describe("api", () => {
4444
});
4545
await executeAddDependencySpy();
4646
expect(addDependencySpy).toHaveReturned();
47-
}, 30_000);
47+
}, 60_000);
4848

4949
it("removes dependency from workspace package", async () => {
5050
const removeDependencySpy = vi.fn(removeDependency);
@@ -56,7 +56,7 @@ describe("api", () => {
5656
});
5757
await executeRemoveDependencySpy();
5858
expect(removeDependencySpy).toHaveReturned();
59-
}, 30_000);
59+
}, 60_000);
6060
});
6161
}
6262
});

test/api.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe("api (workspace)", () => {
1919
});
2020
await executeInstallDependenciesSpy();
2121
expect(installDependenciesSpy).toHaveReturned();
22-
}, 30_000);
22+
}, 60_000);
2323

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

3232
await executeAddDependencySpy();
3333
expect(addDependencySpy).toHaveReturned();
34-
}, 30_000);
34+
}, 60_000);
3535

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

5757
await executeRemoveDependencySpy();
5858
expect(removeDependencySpy).toHaveReturned();
59-
}, 30_000);
59+
}, 60_000);
6060
});
6161
}
6262
});

0 commit comments

Comments
 (0)