mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-28 05:16:23 -06:00
446816f751
* test(auto-reply): table-drive followup runner scenarios * test(channels): centralize sanitizer wiring coverage * test: remove obsolete negative coverage
13 lines
565 B
TypeScript
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);
|
|
});
|
|
});
|