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