For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/zh/api/functions/eval.expectExitCode.md.
  • 简体中文
  • Function: expectExitCode()

    expectExitCode(expected, options?): EvalExitCodeAssertion

    Parameters

    expected

    number

    options?

    EvalEvidenceOptions = {}

    Returns

    EvalExitCodeAssertion