mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-27 17:11:46 +00:00
refactor(plugins): decouple bundled plugin runtime loading
This commit is contained in:
@@ -14,6 +14,7 @@ import {
|
||||
resolveTestRunExitCode,
|
||||
} from "../../scripts/test-parallel-utils.mjs";
|
||||
import { loadTestCatalog } from "../../scripts/test-planner/catalog.mjs";
|
||||
import { bundledPluginFile } from "../helpers/bundled-plugin-paths.js";
|
||||
|
||||
const clearPlannerShardEnv = (env) => {
|
||||
const nextEnv = { ...env };
|
||||
@@ -54,10 +55,10 @@ const sharedTargetedUnitProxyFiles = (() => {
|
||||
|
||||
const targetedChannelProxyFiles = [
|
||||
...sharedTargetedChannelProxyFiles,
|
||||
"extensions/discord/src/monitor/message-handler.preflight.acp-bindings.test.ts",
|
||||
"extensions/discord/src/monitor/monitor.agent-components.test.ts",
|
||||
"extensions/telegram/src/bot.create-telegram-bot.test.ts",
|
||||
"extensions/whatsapp/src/monitor-inbox.streams-inbound-messages.test.ts",
|
||||
bundledPluginFile("discord", "src/monitor/message-handler.preflight.acp-bindings.test.ts"),
|
||||
bundledPluginFile("discord", "src/monitor/monitor.agent-components.test.ts"),
|
||||
bundledPluginFile("telegram", "src/bot.create-telegram-bot.test.ts"),
|
||||
bundledPluginFile("whatsapp", "src/monitor-inbox.streams-inbound-messages.test.ts"),
|
||||
];
|
||||
|
||||
const targetedUnitProxyFiles = [
|
||||
|
||||
Reference in New Issue
Block a user