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

@@ -62,7 +62,7 @@ describe("createChannelPairingChallengeIssuer", () => {
const upsertPairingRequest = vi.fn(async () => ({ code: "654321", created: true }));
const { replies, sendPairingReply } = createReplyCollector();
const issueChallenge = createChannelPairingChallengeIssuer({
channel: "signal",
channel: "quietchat",
upsertPairingRequest,
});

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,