mirror of https://github.com/openclaw/openclaw.git
test: keep cli backend coverage on core seams
This commit is contained in:
parent
c9029503fd
commit
bf226be64a
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue