• Asserts that the error message contains the expected text

    Type Parameters

    • T

    Parameters

    • result: AgentResult<T>
    • expectedText: string

    Returns void