diff --git a/extensions/discord/src/channel-actions.test.ts b/extensions/discord/src/channel-actions.test.ts index 73a1e7e7eef..806f27554cd 100644 --- a/extensions/discord/src/channel-actions.test.ts +++ b/extensions/discord/src/channel-actions.test.ts @@ -1,8 +1,8 @@ import { Type } from "@sinclair/typebox"; import type { ChannelMessageActionContext } from "openclaw/plugin-sdk/channel-contract"; import type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime"; +import { withEnv } from "openclaw/plugin-sdk/testing"; import { describe, expect, it, vi } from "vitest"; -import { withEnv } from "../../../src/test-utils/env.js"; const handleDiscordMessageActionMock = vi.hoisted(() => vi.fn(async () => ({ content: [], details: { ok: true } })),