mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 15:30:47 +00:00
refactor: promote plugin test helpers to sdk
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import type { OpenClawPluginApi as MatrixEntryPluginApi } from "openclaw/plugin-sdk/channel-entry-contract";
|
||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import {
|
||||
getRequiredHookHandler,
|
||||
registerHookHandlersForTest,
|
||||
} from "../../../../test/helpers/plugins/subagent-hooks.js";
|
||||
} from "openclaw/plugin-sdk/channel-test-helpers";
|
||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import { registerMatrixSubagentHooks } from "../../subagent-hooks-api.js";
|
||||
|
||||
// Hoisted stubs referenced in vi.mock factories below
|
||||
|
||||
Reference in New Issue
Block a user