chore: Fix types in tests 38/N.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user