mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:20:43 +00:00
fix: clean up current main ci fallout
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import type { CallGatewayOptions } from "../gateway/call.js";
|
||||
import { SUBAGENT_ENDED_REASON_COMPLETE } from "./subagent-lifecycle-events.js";
|
||||
import { createSubagentRegistryLifecycleController } from "./subagent-registry-lifecycle.js";
|
||||
import type { SubagentRunRecord } from "./subagent-registry.types.js";
|
||||
@@ -121,7 +122,9 @@ function createLifecycleController({
|
||||
emitSubagentEndedHookForRun: vi.fn(async () => {}),
|
||||
notifyContextEngineSubagentEnded: vi.fn(async () => {}),
|
||||
resumeSubagentRun: vi.fn(),
|
||||
callGateway: gatewayMocks.callGateway,
|
||||
callGateway: gatewayMocks.callGateway as <T = Record<string, unknown>>(
|
||||
opts: CallGatewayOptions,
|
||||
) => Promise<T>,
|
||||
captureSubagentCompletionReply: vi.fn(async () => "final completion reply"),
|
||||
runSubagentAnnounceFlow: vi.fn(async () => true),
|
||||
warn: vi.fn(),
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { PluginLruCache } from "./plugin-lru-cache.js";
|
||||
import { PluginLruCache } from "./plugin-cache-primitives.js";
|
||||
|
||||
describe("PluginLruCache", () => {
|
||||
it("evicts the least recently used entry", () => {
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
export { PluginLruCache, type PluginLruCacheResult } from "./plugin-cache-primitives.js";
|
||||
Reference in New Issue
Block a user