Files
openclaw/extensions/telegram/index.test.ts
2026-06-04 22:03:15 -04:00

20 lines
575 B
TypeScript

// Telegram tests cover index plugin behavior.
import { assertBundledChannelEntries } from "openclaw/plugin-sdk/channel-test-helpers";
import { beforeEach, describe, vi } from "vitest";
import entry from "./index.js";
import setupEntry from "./setup-entry.js";
describe("telegram bundled entries", () => {
beforeEach(() => {
vi.useRealTimers();
});
assertBundledChannelEntries({
entry,
expectedId: "telegram",
expectedName: "Telegram",
setupEntry,
channelMessage: "declares the channel entry without importing the broad api barrel",
});
});