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,