runAgentConformance
Runs a suite of contract conformance assertions against a factory that produces a fresh Agent. Adapter packages should call this in their own test suites to verify the contract is satisfied.
import { runAgentConformance } from '@threadplane/chat/testing';Declaration · overload 1
export declare function runAgentConformance(label: string, factory: () => Agent): void;Parameters
label· requiredstringfactory· required() => Agent
Returns
void