refactor: route telegram gateway test through test api

This commit is contained in:
Peter Steinberger
2026-03-27 05:38:56 +00:00
parent e42b4afd39
commit b70b99d46d
2 changed files with 2 additions and 1 deletions

View File

@@ -1,2 +1,3 @@
export { buildTelegramMessageContextForTest } from "./src/bot-message-context.test-harness.js";
export { handleTelegramAction } from "./src/action-runtime.js";
export { sendMessageTelegram, sendPollTelegram, type TelegramApiOverride } from "./src/send.js";

View File

@@ -6,7 +6,7 @@ import {
sendMessageTelegram,
sendPollTelegram,
type TelegramApiOverride,
} from "../../extensions/telegram/src/send.js";
} from "../../extensions/telegram/test-api.js";
import {
clearConfigCache,
loadConfig,