fix(testing): repair bundled plugin helper imports

This commit is contained in:
Peter Steinberger
2026-04-03 16:17:42 +01:00
parent e3fea41b59
commit 1dfcdbdf91
4 changed files with 4 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
import type { GetReplyOptions, MsgContext } from "openclaw/plugin-sdk/reply-runtime";
import { withEnvAsync } from "openclaw/plugin-sdk/testing";
import { afterAll, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
import { withEnvAsync } from "../../../src/test-utils/env.js";
import { escapeRegExp, formatEnvelopeTimestamp } from "../../../test/helpers/envelope-timestamp.js";
const harness = await import("./bot.create-telegram-bot.test-harness.js");
const EYES_EMOJI = "\u{1F440}";

View File

@@ -5,6 +5,7 @@ import { getSessionBindingService } from "openclaw/plugin-sdk/conversation-runti
import { resolveStateDir } from "openclaw/plugin-sdk/state-paths";
import { loadBundledPluginTestApiSync } from "openclaw/plugin-sdk/testing";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import { loadBundledPluginTestApiSync } from "../../../src/test-utils/bundled-plugin-public-surface.js";
import { importFreshModule } from "../../../test/helpers/import-fresh.js";
import {
__testing,

View File

@@ -5,6 +5,7 @@ import type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
import { setLoggerOverride } from "openclaw/plugin-sdk/runtime-env";
import { withEnvAsync } from "openclaw/plugin-sdk/testing";
import { beforeAll, describe, expect, it, vi } from "vitest";
import { withEnvAsync } from "../../../src/test-utils/env.js";
import { escapeRegExp, formatEnvelopeTimestamp } from "../../../test/helpers/envelope-timestamp.js";
import {
createWebInboundDeliverySpies,

View File

@@ -2,6 +2,7 @@ import type { ChannelStatusAdapter } from "../channels/plugins/types.adapters.js
import type { ChannelAccountSnapshot } from "../channels/plugins/types.core.js";
import type { ChannelStatusIssue } from "../channels/plugins/types.js";
import type { OpenClawConfig } from "../config/config.js";
export type { ChannelAccountSnapshot } from "../channels/plugins/types.core.js";
export { isRecord } from "../channels/plugins/status-issues/shared.js";
export {
appendMatchMetadata,