mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 16:28:26 +00:00
chore: Fix types in tests 36/N.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
import { beforeEach, describe, expect, it } from "vitest";
|
||||
import { createHookRunner } from "./hooks.js";
|
||||
import { createEmptyPluginRegistry, type PluginRegistry } from "./registry.js";
|
||||
import type { PluginHookBeforeAgentStartResult, TypedPluginHookRegistration } from "./types.js";
|
||||
import type { PluginHookBeforeAgentStartResult, PluginHookRegistration } from "./types.js";
|
||||
|
||||
function addBeforeAgentStartHook(
|
||||
registry: PluginRegistry,
|
||||
@@ -22,7 +22,7 @@ function addBeforeAgentStartHook(
|
||||
handler,
|
||||
priority,
|
||||
source: "test",
|
||||
} as TypedPluginHookRegistration);
|
||||
} as PluginHookRegistration);
|
||||
}
|
||||
|
||||
const stubCtx = {
|
||||
|
||||
Reference in New Issue
Block a user