mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 13:11:40 +00:00
fix(testing): repair bundled plugin helper imports
This commit is contained in:
@@ -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}";
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user