





















@@ -1,20 +1,16 @@
11import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
2-import { deliverOutboundPayloads } from "../../../src/infra/outbound/deliver.js";
32import {
3+addTestHook,
4+createEmptyPluginRegistry,
5+createOutboundTestPlugin,
6+createTestRegistry,
7+deliverOutboundPayloads,
48initializeGlobalHookRunner,
5-resetGlobalHookRunner,
6-} from "../../../src/plugins/hook-runner-global.js";
7-import { addTestHook } from "../../../src/plugins/hooks.test-helpers.js";
8-import { createEmptyPluginRegistry } from "../../../src/plugins/registry.js";
9-import {
109releasePinnedPluginChannelRegistry,
10+resetGlobalHookRunner,
1111setActivePluginRegistry,
12-} from "../../../src/plugins/runtime.js";
13-import type { PluginHookRegistration } from "../../../src/plugins/types.js";
14-import {
15-createOutboundTestPlugin,
16-createTestRegistry,
17-} from "../../../src/test-utils/channel-plugins.js";
12+type PluginHookRegistration,
13+} from "../../../test/helpers/plugins/outbound-delivery.js";
1814import { slackOutbound } from "./outbound-adapter.js";
1915import type { OpenClawConfig } from "./runtime-api.js";
2016此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。