mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:50:42 +00:00
19 lines
531 B
TypeScript
19 lines
531 B
TypeScript
import { beforeEach, describe, vi } from "vitest";
|
|
import { assertBundledChannelEntries } from "../../test/helpers/bundled-channel-entry.ts";
|
|
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",
|
|
});
|
|
});
|