Files
openclaw/src/channels/plugins/index.test.ts
2026-01-13 08:40:39 +00:00

15 lines
450 B
TypeScript

import { describe, expect, it } from "vitest";
import { CHANNEL_IDS } from "../registry.js";
import { listChannelPlugins } from "./index.js";
describe("channel plugin registry", () => {
it("stays in sync with channel ids", () => {
const pluginIds = listChannelPlugins()
.map((plugin) => plugin.id)
.slice()
.sort();
const channelIds = [...CHANNEL_IDS].slice().sort();
expect(pluginIds).toEqual(channelIds);
});
});