mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 12:50:42 +00:00
12 lines
435 B
TypeScript
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");
|
|
});
|
|
});
|