mirror of https://github.com/openclaw/openclaw.git
Tests: fix provider auth plugin mock spread
This commit is contained in:
parent
600f57c979
commit
ecfa79ee4c
|
|
@ -4,7 +4,7 @@ import path from "node:path";
|
|||
import { afterAll, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import { NON_ENV_SECRETREF_MARKER } from "../agents/model-auth-markers.js";
|
||||
|
||||
const resolveProviderUsageAuthWithPluginMock = vi.fn(async () => null);
|
||||
const resolveProviderUsageAuthWithPluginMock = vi.fn(async (..._args: unknown[]) => null);
|
||||
|
||||
vi.mock("../plugins/provider-runtime.js", () => ({
|
||||
resolveProviderUsageAuthWithPlugin: (...args: unknown[]) =>
|
||||
|
|
|
|||
Loading…
Reference in New Issue