fix(test): add missing label field to AnyAgentTool mock in params test

label is a required property on AgentTool; the mock was missing it,
causing a TS error in CI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
priyansh19
2026-03-27 00:01:24 +05:30
committed by Josh Lehman
parent 4399c4e168
commit ed5ff7f84f

View File

@@ -22,6 +22,7 @@ describe("assertRequiredParams", () => {
const tool = wrapToolParamNormalization(
{
name: "write",
label: "write",
description: "write a file",
parameters: {},
execute: vi.fn(),