docs: document noninteractive onboarding tests

This commit is contained in:
Peter Steinberger
2026-06-04 18:47:21 -04:00
parent 5c362884f3
commit 64008398d1
5 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
// Non-interactive auth-choice inference tests cover core and plugin-defined CLI auth flags.
import { beforeEach, describe, expect, it, vi } from "vitest";
import type { OnboardOptions } from "../../onboard-types.js";
import { inferAuthChoiceFromFlags } from "./auth-choice-inference.js";

View File

@@ -1,3 +1,4 @@
// Non-interactive plugin provider auth tests cover provider choice setup and runtime plugin install requirements.
import { beforeEach, describe, expect, it, vi } from "vitest";
import type { OpenClawConfig } from "../../../config/config.js";
import type { CodexRuntimePluginInstallResult } from "../../codex-runtime-plugin-install.js";

View File

@@ -1,3 +1,4 @@
// Non-interactive auth-choice tests cover built-in, custom, deprecated, and plugin provider dispatch.
import { beforeEach, describe, expect, it, vi } from "vitest";
import type { OpenClawConfig } from "../../../config/config.js";
import { resolveAgentModelPrimaryValue } from "../../../config/model-input.js";

View File

@@ -1,3 +1,4 @@
// Non-interactive daemon install tests cover gateway service planning, token resolution, and systemd handling.
import { beforeEach, describe, expect, it, vi } from "vitest";
import type { OpenClawConfig } from "../../../config/config.js";
import { installGatewayDaemonNonInteractive } from "./daemon-install.js";

View File

@@ -1,3 +1,4 @@
// Non-interactive gateway config tests cover port, bind, auth token, and SecretRef preservation behavior.
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import type { OpenClawConfig } from "../../../config/types.openclaw.js";
import type { OnboardOptions } from "../../onboard-types.js";