test: trim telegram testing barrel imports

This commit is contained in:
Peter Steinberger 2026-04-03 12:35:59 +01:00
parent de1d0f4fae
commit afa78a5b13
No known key found for this signature in database
4 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,6 @@ import fs from "node:fs/promises";
import os from "node:os";
import path from "node:path";
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
import { writeSkill } from "openclaw/plugin-sdk/testing";
import { afterEach, describe, expect, it, vi } from "vitest";
import { registerTelegramNativeCommands } from "./bot-native-commands.js";
import {
@ -12,6 +11,7 @@ import {
waitForRegisteredCommands,
} from "./bot-native-commands.menu-test-support.js";
import { pluginCommandMocks, resetPluginCommandMocks } from "./test-support/plugin-command.js";
import { writeSkill } from "./test-support/write-skill.js";
const tempDirs: string[] = [];

View File

@ -4,9 +4,9 @@ import {
clearPluginInteractiveHandlers,
registerPluginInteractiveHandler,
} from "openclaw/plugin-sdk/plugin-runtime";
import { expectChannelInboundContextContract as expectInboundContextContract } from "openclaw/plugin-sdk/testing";
import { afterAll, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
import { escapeRegExp, formatEnvelopeTimestamp } from "../../../test/helpers/envelope-timestamp.js";
import { expectChannelInboundContextContract as expectInboundContextContract } from "./test-support/inbound-context-contract.js";
const {
answerCallbackQuerySpy,
commandSpy,

View File

@ -0,0 +1 @@
export { expectChannelInboundContextContract } from "../../../../src/channels/plugins/contracts/suites.js";

View File

@ -0,0 +1 @@
export { writeSkill } from "../../../../src/agents/skills.e2e-test-helpers.js";