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/test.compileTestManifest.md.
  • 简体中文
  • Function: compileTestManifest()

    compileTestManifest(options?): Promise<AgentBundleTestManifest>

    Compiles one project's test manifest from the same preparation the build and inspect run: configuration load, conventional discovery (which owns route-graph compilation), normalization, and validation. No artifact is built and no bundler runs, so route-unit tests get the manifest without a build.

    The compiler is reached through a dynamic import on purpose: the generated Rstest configuration compiles the manifest once in the runner process and hands it to workers, so a test worker that only renders routes never loads the compiler at all.

    Parameters

    options?

    CompileTestManifestOptions = {}

    Returns

    Promise<AgentBundleTestManifest>