mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
Fix flaky ui test
This commit is contained in:
parent
4d39a1a18f
commit
1f2bf08136
1 changed files with 6 additions and 2 deletions
|
|
@ -42,7 +42,11 @@ const createQueryClient = () =>
|
|||
defaultOptions: {
|
||||
queries: {
|
||||
retry: false,
|
||||
gcTime: 0,
|
||||
staleTime: Infinity,
|
||||
gcTime: Infinity,
|
||||
refetchOnWindowFocus: false,
|
||||
refetchOnReconnect: false,
|
||||
refetchOnMount: false,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
@ -140,7 +144,7 @@ describe("Add Model Tab", () => {
|
|||
);
|
||||
|
||||
expect(await screen.findByRole("tab", { name: "Add Model" })).toBeInTheDocument();
|
||||
});
|
||||
}, 10000); // This test is flaky, adding a timeout until we find a better solution
|
||||
|
||||
it("should display both Add Model and Add Auto Router tabs", async () => {
|
||||
const props = createTestProps();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue