Skip to content

Commit ba5895a

Browse files
authored
test(discord): remove duplicate inbound context contract (#121318)
1 parent b05a308 commit ba5895a

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎extensions/discord/src/monitor/message-handler.inbound-context.test.ts‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
// Discord tests cover message handler.inbound context plugin behavior.
2-
import { expectChannelInboundContextContract as expectInboundContextContract } from "openclaw/plugin-sdk/channel-contract-testing";
32
import { finalizeInboundContext } from "openclaw/plugin-sdk/reply-dispatch-runtime";
43
import { describe, expect, it } from "vitest";
54
import { buildDiscordInboundAccessContext } from "./inbound-context.js";
6-
import { buildFinalizedDiscordDirectInboundContext } from "./inbound-context.test-helpers.js";
75

86
describe("discord processDiscordMessage inbound context", () => {
9-
it("builds a finalized direct-message MsgContext shape", () => {
10-
const ctx = buildFinalizedDiscordDirectInboundContext();
11-
12-
expectInboundContextContract(ctx);
13-
});
14-
157
it("keeps channel metadata out of GroupSystemPrompt", () => {
168
const { groupSystemPrompt, channelStructuredContext } = buildDiscordInboundAccessContext({
179
channelConfig: { systemPrompt: "Config prompt" } as never,

0 commit comments

Comments
 (0)