Files
openclaw/extensions/irc/src/channel.test.ts
T
Peter Steinberger 446816f751 test: table-drive followup scenarios, centralize sanitizer wiring, remove obsolete negatives (#113583)
* test(auto-reply): table-drive followup runner scenarios

* test(channels): centralize sanitizer wiring coverage

* test: remove obsolete negative coverage
2026-07-25 02:14:44 -07:00

13 lines
565 B
TypeScript

// Irc tests cover channel plugin behavior.
import { describe, expect, it } from "vitest";
import { ircOutboundBaseAdapter } from "./outbound-base.js";
describe("irc outbound chunking", () => {
it("chunks outbound text without requiring IRC runtime initialization", () => {
expect(ircOutboundBaseAdapter.chunker("alpha beta", 5)).toEqual(["alpha", "beta"]);
expect(ircOutboundBaseAdapter.deliveryMode).toBe("direct");
expect(ircOutboundBaseAdapter.chunkerMode).toBe("markdown");
expect(ircOutboundBaseAdapter.textChunkLimit).toBe(350);
});
});