mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
chore(ui): fix post-rebase type drift in useCreateAccessGroup test
Some checks failed
LiteLLM Rust / rustfmt, clippy, test (push) Has been cancelled
Some checks failed
LiteLLM Rust / rustfmt, clippy, test (push) Has been cancelled
The deriveErrorMessage mock was typed zero-arg but is called with a spread, which the current vitest/TS types reject after rebasing onto staging. Widen it to accept varargs
This commit is contained in:
parent
bab23bbbbc
commit
f427284c61
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ const { fetchMock } = vi.hoisted(() => {
|
|||
});
|
||||
|
||||
const handleError = vi.fn();
|
||||
const deriveErrorMessage = vi.fn(() => "derived message");
|
||||
const deriveErrorMessage = vi.fn((..._args: unknown[]) => "derived message");
|
||||
vi.mock("@/components/networking", () => ({
|
||||
getProxyBaseUrl: () => "http://localhost:4000",
|
||||
getGlobalLitellmHeaderName: () => "Authorization",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue