mirror of
https://fastgit.cc/github.com/openclaw/openclaw
synced 2026-04-30 22:12:32 +08: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",
|
|
});
|
|
});
|