Files
openclaw/extensions/mattermost/channel-plugin-api.test.ts
2026-04-23 10:27:28 +01:00

12 lines
435 B
TypeScript

import { describe, expect, it } from "vitest";
describe("mattermost bundled api seam", () => {
it("loads the narrow channel plugin api", async () => {
const mod = await import("./channel-plugin-api.js");
expect(Object.keys(mod).toSorted()).toEqual(["mattermostPlugin", "mattermostSetupPlugin"]);
expect(mod.mattermostPlugin.id).toBe("mattermost");
expect(mod.mattermostSetupPlugin.id).toBe("mattermost");
});
});