refactor: split plugin sdk test helpers

This commit is contained in:
Peter Steinberger
2026-04-28 01:12:56 +01:00
parent d88610cf2b
commit f34b41f198
191 changed files with 627 additions and 270 deletions

View File

@@ -1,5 +1,5 @@
import type { ChannelDirectoryEntry } from "openclaw/plugin-sdk/channel-contract";
import type { OpenClawConfig } from "openclaw/plugin-sdk/testing";
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-types";
import { expect } from "vitest";
export type DirectoryListFn = (params: {

View File

@@ -1,4 +1,4 @@
import { registerSingleProviderPlugin } from "openclaw/plugin-sdk/testing";
import { registerSingleProviderPlugin } from "openclaw/plugin-sdk/plugin-test-runtime";
import { expect } from "vitest";
export async function expectPassthroughReplayPolicy(params: {

View File

@@ -1,4 +1,7 @@
import { registerProviderPlugin, requireRegisteredProvider } from "openclaw/plugin-sdk/testing";
import {
registerProviderPlugin,
requireRegisteredProvider,
} from "openclaw/plugin-sdk/plugin-test-runtime";
import { describe, expect, it } from "vitest";
import { resolveOpenClawAgentDir } from "../src/agents/agent-paths.js";
import { collectProviderApiKeys } from "../src/agents/live-auth-keys.js";