add timeout to long running tests

This commit is contained in:
yuneng-jiang
2026-02-14 18:05:27 -08:00
parent e92b7274c9
commit ac648af78e
2 changed files with 6 additions and 6 deletions
@@ -74,9 +74,9 @@ vi.mock("./ModelSelect/ModelSelect", () => {
if (onChange) {
const newVal = e.target.value
? e.target.value
.split(",")
.map((s: string) => s.trim())
.filter(Boolean)
.split(",")
.map((s: string) => s.trim())
.filter(Boolean)
: [];
onChange(newVal);
}
@@ -836,7 +836,7 @@ describe("OldTeams - access_group_ids in team create", () => {
}),
);
});
});
}, { timeout: 30000 });
});
describe("OldTeams - models dropdown options", () => {
@@ -118,7 +118,7 @@ describe("CreateKey", () => {
expect(formValues).toHaveProperty("access_group_ids");
expect(formValues.access_group_ids).toEqual(["ag-1", "ag-2"]);
},
{ timeout: 5000 },
{ timeout: 15000 },
);
});
}, { timeout: 30000 });
});