mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:50:43 +00:00
test(plugins): type active registry mock
This commit is contained in:
@@ -6,7 +6,7 @@ const mocks = vi.hoisted(() => ({
|
||||
resolveCompatibleRuntimePluginRegistry: vi.fn(),
|
||||
resolvePluginRegistryLoadCacheKey: vi.fn((options: unknown) => JSON.stringify(options)),
|
||||
resolveRuntimePluginRegistry: vi.fn(),
|
||||
getActivePluginRegistry: vi.fn(() => null),
|
||||
getActivePluginRegistry: vi.fn<() => unknown | null>(() => null),
|
||||
getActivePluginRegistryWorkspaceDir: vi.fn(() => undefined),
|
||||
buildPluginRuntimeLoadOptionsFromValues: vi.fn(
|
||||
(_values: unknown, overrides?: Record<string, unknown>) => ({
|
||||
|
||||
Reference in New Issue
Block a user