openclaw/extensions/slack/index.test.ts

16 lines
509 B
TypeScript

import { describe, expect, it } from "vitest";
import entry from "./index.js";
import setupEntry from "./setup-entry.js";
describe("slack bundled entries", () => {
it("loads the channel plugin without importing the broad api barrel", () => {
const plugin = entry.loadChannelPlugin();
expect(plugin.id).toBe("slack");
});
it("loads the setup plugin without importing the broad api barrel", () => {
const plugin = setupEntry.loadSetupPlugin();
expect(plugin.id).toBe("slack");
});
});