mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-02 12:21:10 +00:00
add timeout to long running tests
This commit is contained in:
@@ -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 });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user