mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:10:49 +00:00
refactor: split plugin sdk test helpers
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user