mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 16:14:58 +00:00
test: preload onboarding command modules in hot suites
This commit is contained in:
@@ -29,6 +29,8 @@ vi.mock("../infra/outbound/targets.js", async () => {
|
||||
};
|
||||
});
|
||||
|
||||
const { deliverAgentCommandResult } = await import("./agent/delivery.js");
|
||||
|
||||
describe("deliverAgentCommandResult", () => {
|
||||
function createRuntime(): RuntimeEnv {
|
||||
return {
|
||||
@@ -54,7 +56,6 @@ describe("deliverAgentCommandResult", () => {
|
||||
const deps = {} as CliDeps;
|
||||
const runtime = params.runtime ?? createRuntime();
|
||||
const result = createResult(params.resultText);
|
||||
const { deliverAgentCommandResult } = await import("./agent/delivery.js");
|
||||
|
||||
await deliverAgentCommandResult({
|
||||
cfg,
|
||||
|
||||
Reference in New Issue
Block a user