test: use synthetic plugin channel fixtures

This commit is contained in:
Peter Steinberger
2026-04-21 01:32:27 +01:00
parent 97e528ed54
commit 6bb6cfc68e
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ import type { PluginHookBeforeToolCallResult, PluginHookMessageSendingResult } f
const toolEvent = { toolName: "bash", params: { command: "echo hello" } };
const toolCtx = { toolName: "bash" };
const messageEvent = { to: "user-1", content: "hello" };
const messageCtx = { channelId: "telegram" };
const messageCtx = { channelId: "forum" };
async function runBeforeToolCallWithHooks(
registry: PluginRegistry,