mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-17 20:30:46 +00:00
refactor: move plugin api test helper to sdk
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { createTestPluginApi } from "openclaw/plugin-sdk/plugin-test-api";
|
||||
import { beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import { createTestPluginApi } from "../../../test/helpers/plugins/plugin-api.js";
|
||||
import type { OpenClawPluginApi, PluginRuntime } from "../runtime-api.js";
|
||||
|
||||
const createFeishuClientMock = vi.hoisted(() => vi.fn());
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createTestPluginApi } from "openclaw/plugin-sdk/plugin-test-api";
|
||||
import { beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import { createTestPluginApi } from "../../../test/helpers/plugins/plugin-api.js";
|
||||
import type { OpenClawPluginApi, PluginRuntime } from "../runtime-api.js";
|
||||
|
||||
const createFeishuToolClientMock = vi.hoisted(() => vi.fn());
|
||||
|
||||
Reference in New Issue
Block a user