UNPKG

jest-ai

Version:

Custom jest matchers for testing AI applications

7 lines (6 loc) 355 B
import type { RequiredActionFunctionToolCall, Run } from "openai/src/resources/beta/threads/runs"; import { MatcherUtils } from "expect"; export declare function toHaveUsedAllAssistantTools(this: MatcherUtils, received: Run, expectedTools: string[] | RequiredActionFunctionToolCall.Function[]): Promise<{ message: () => string; pass: boolean; }>;