mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 21:24:31 +00:00
Plugins/msteams: migrate to scoped plugin-sdk imports
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { OpenClawConfig } from "openclaw/plugin-sdk/compat";
|
||||
import type { OpenClawConfig } from "openclaw/plugin-sdk/msteams";
|
||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import { sendMessageMSTeams } from "./send.js";
|
||||
|
||||
@@ -11,7 +11,7 @@ const mockState = vi.hoisted(() => ({
|
||||
sendMSTeamsMessages: vi.fn(),
|
||||
}));
|
||||
|
||||
vi.mock("openclaw/plugin-sdk", () => ({
|
||||
vi.mock("openclaw/plugin-sdk/msteams", () => ({
|
||||
loadOutboundMediaFromUrl: mockState.loadOutboundMediaFromUrl,
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user