chore: Fix types in tests 38/N.

This commit is contained in:
cpojer
2026-02-17 15:47:23 +09:00
parent 238718c1d8
commit 084e39b519
19 changed files with 85 additions and 40 deletions

View File

@@ -109,7 +109,7 @@ describe("hooks mapping", () => {
],
});
expect(result?.ok).toBe(true);
if (result?.ok && result.action.kind === "agent") {
if (result?.ok && result.action && result.action.kind === "agent") {
expect(result.action.model).toBe("openai/gpt-4.1-mini");
}
});