test(helpers): use direct internal seams

This commit is contained in:
Vincent Koc
2026-04-03 23:00:16 +09:00
parent d2427c19e0
commit c1d68f213d
7 changed files with 19 additions and 12 deletions

View File

@@ -1,7 +1,10 @@
import { DEFAULT_MODEL, DEFAULT_PROVIDER } from "openclaw/plugin-sdk/agent-runtime";
import type { PluginRuntime } from "openclaw/plugin-sdk/testing";
import { removeAckReactionAfterReply, shouldAckReaction } from "openclaw/plugin-sdk/testing";
import { vi } from "vitest";
import {
removeAckReactionAfterReply,
shouldAckReaction,
} from "../../../src/channels/ack-reactions.js";
import type { PluginRuntime } from "../../../src/plugins/runtime/types.js";
type DeepPartial<T> = {
[K in keyof T]?: T[K] extends (...args: never[]) => unknown