Files
openclaw/extensions/discord/src/inbound-context.contract.test.ts
2026-06-04 22:06:01 -04:00

13 lines
527 B
TypeScript

// Discord tests cover inbound context.contract plugin behavior.
import { expectChannelInboundContextContract } from "openclaw/plugin-sdk/channel-contract-testing";
import { describe, it } from "vitest";
import { buildFinalizedDiscordDirectInboundContext } from "./monitor/inbound-context.test-helpers.js";
describe("Discord inbound context contract", () => {
it("keeps inbound context finalized", () => {
const ctx = buildFinalizedDiscordDirectInboundContext();
expectChannelInboundContextContract(ctx);
});
});