Files
openclaw/extensions/whatsapp/index.test.ts
2026-04-08 13:47:49 +01:00

17 lines
612 B
TypeScript

import { describe, expect, it } from "vitest";
import entry from "./index.js";
import setupEntry from "./setup-entry.js";
describe("whatsapp bundled entries", () => {
it("declares the channel plugin without importing the broad api barrel", () => {
expect(entry.kind).toBe("bundled-channel-entry");
expect(entry.id).toBe("whatsapp");
expect(entry.name).toBe("WhatsApp");
});
it("declares the setup plugin without importing the broad api barrel", () => {
expect(setupEntry.kind).toBe("bundled-channel-setup-entry");
expect(typeof setupEntry.loadSetupPlugin).toBe("function");
});
});