From ba5895a976ae0c30be1adb26f0975cebbe313dd7 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 9 Aug 2026 18:28:14 -0700 Subject: [PATCH] test(discord): remove duplicate inbound context contract (#121318) --- .../src/monitor/message-handler.inbound-context.test.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/extensions/discord/src/monitor/message-handler.inbound-context.test.ts b/extensions/discord/src/monitor/message-handler.inbound-context.test.ts index 35d446412106..782e593f5a94 100644 --- a/extensions/discord/src/monitor/message-handler.inbound-context.test.ts +++ b/extensions/discord/src/monitor/message-handler.inbound-context.test.ts @@ -1,17 +1,9 @@ // Discord tests cover message handler.inbound context plugin behavior. -import { expectChannelInboundContextContract as expectInboundContextContract } from "openclaw/plugin-sdk/channel-contract-testing"; import { finalizeInboundContext } from "openclaw/plugin-sdk/reply-dispatch-runtime"; import { describe, expect, it } from "vitest"; import { buildDiscordInboundAccessContext } from "./inbound-context.js"; -import { buildFinalizedDiscordDirectInboundContext } from "./inbound-context.test-helpers.js"; describe("discord processDiscordMessage inbound context", () => { - it("builds a finalized direct-message MsgContext shape", () => { - const ctx = buildFinalizedDiscordDirectInboundContext(); - - expectInboundContextContract(ctx); - }); - it("keeps channel metadata out of GroupSystemPrompt", () => { const { groupSystemPrompt, channelStructuredContext } = buildDiscordInboundAccessContext({ channelConfig: { systemPrompt: "Config prompt" } as never,