test: keep discord channel actions on public test SDK

This commit is contained in:
Peter Steinberger
2026-04-16 18:16:03 +01:00
parent b31d243c57
commit 1d27e0ef08

View File

@@ -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 } })),