mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-11 09:11:13 +00:00
test: keep cli backend coverage on core seams
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import { beforeEach, describe, expect, it } from "vitest";
|
||||
import { normalizeClaudeBackendConfig } from "../../extensions/anthropic/test-api.js";
|
||||
import type { OpenClawConfig } from "../config/config.js";
|
||||
import type { CliBackendConfig } from "../config/types.js";
|
||||
import { createEmptyPluginRegistry } from "../plugins/registry.js";
|
||||
import { setActivePluginRegistry } from "../plugins/runtime.js";
|
||||
import { resolveCliBackendConfig } from "./cli-backends.js";
|
||||
import { normalizeClaudeBackendConfig, resolveCliBackendConfig } from "./cli-backends.js";
|
||||
|
||||
function createBackendEntry(params: {
|
||||
pluginId: string;
|
||||
|
||||
@@ -14,6 +14,8 @@ export type ResolvedCliBackend = {
|
||||
pluginId?: string;
|
||||
};
|
||||
|
||||
export { normalizeClaudeBackendConfig };
|
||||
|
||||
type FallbackCliBackendPolicy = {
|
||||
bundleMcp: boolean;
|
||||
normalizeConfig?: (config: CliBackendConfig) => CliBackendConfig;
|
||||
|
||||
Reference in New Issue
Block a user