mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 04:20:43 +00:00
Plugins/test-utils: migrate to scoped plugin-sdk imports
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import type { PluginRuntime } from "openclaw/plugin-sdk/compat";
|
import type { PluginRuntime } from "openclaw/plugin-sdk/test-utils";
|
||||||
import { removeAckReactionAfterReply, shouldAckReaction } from "openclaw/plugin-sdk/compat";
|
import { removeAckReactionAfterReply, shouldAckReaction } from "openclaw/plugin-sdk/test-utils";
|
||||||
import { vi } from "vitest";
|
import { vi } from "vitest";
|
||||||
|
|
||||||
type DeepPartial<T> = {
|
type DeepPartial<T> = {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { RuntimeEnv } from "openclaw/plugin-sdk/compat";
|
import type { RuntimeEnv } from "openclaw/plugin-sdk/test-utils";
|
||||||
import { vi } from "vitest";
|
import { vi } from "vitest";
|
||||||
|
|
||||||
export function createRuntimeEnv(): RuntimeEnv {
|
export function createRuntimeEnv(): RuntimeEnv {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import type {
|
|||||||
ChannelAccountSnapshot,
|
ChannelAccountSnapshot,
|
||||||
ChannelGatewayContext,
|
ChannelGatewayContext,
|
||||||
OpenClawConfig,
|
OpenClawConfig,
|
||||||
} from "openclaw/plugin-sdk/compat";
|
} from "openclaw/plugin-sdk/test-utils";
|
||||||
import { vi } from "vitest";
|
import { vi } from "vitest";
|
||||||
import { createRuntimeEnv } from "./runtime-env.js";
|
import { createRuntimeEnv } from "./runtime-env.js";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user