ci: stabilize vitest runs

This commit is contained in:
Peter Steinberger
2026-01-18 06:58:46 +00:00
parent f86b24c511
commit d3b15c6afa
17 changed files with 28 additions and 25 deletions

View File

@@ -228,7 +228,7 @@ describe("web auto-reply", () => {
await run;
}, 15_000);
it("stops after hitting max reconnect attempts", { timeout: 20000 }, async () => {
it("stops after hitting max reconnect attempts", { timeout: 60_000 }, async () => {
const closeResolvers: Array<() => void> = [];
const sleep = vi.fn(async () => {});
const listenerFactory = vi.fn(async () => {

View File

@@ -21,7 +21,7 @@ describe("web logout", () => {
vi.restoreAllMocks();
});
it("deletes cached credentials when present", { timeout: 15_000 }, async () => {
it("deletes cached credentials when present", { timeout: 60_000 }, async () => {
await withTempHome(async (home) => {
vi.resetModules();
const { logoutWeb, WA_WEB_AUTH_DIR } = await import("./session.js");
@@ -37,7 +37,7 @@ describe("web logout", () => {
});
});
it("no-ops when nothing to delete", { timeout: 15_000 }, async () => {
it("no-ops when nothing to delete", { timeout: 60_000 }, async () => {
await withTempHome(async () => {
vi.resetModules();
const { logoutWeb } = await import("./session.js");