chore: Fix types in tests 36/N.

This commit is contained in:
cpojer
2026-02-17 15:46:48 +09:00
parent 2a4ca7671e
commit 7b31e8fc59
14 changed files with 86 additions and 42 deletions

View File

@@ -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 = {