docs: document command report batch · openclaw/openclaw@eaad487
steipete
·
2026-06-05
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Channels status command-flow tests cover gateway calls, config fallback, and timeout validation. |
1 | 2 | import { beforeEach, describe, expect, it, vi } from "vitest"; |
2 | 3 | import { DEFAULT_ACCOUNT_ID } from "../routing/session-key.js"; |
3 | 4 | import { channelsStatusCommand } from "./channels/status.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Channels status external-env tests cover env-backed credentials and config-only status rendering. |
1 | 2 | import fs from "node:fs"; |
2 | 3 | import path from "node:path"; |
3 | 4 | import { afterAll, afterEach, beforeEach, describe, expect, it, vi } from "vitest"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Cleanup command test support provides non-exiting runtimes and log captures for cleanup suites. |
1 | 2 | import { vi } from "vitest"; |
2 | 3 | import { createNonExitingRuntime, type RuntimeEnv } from "../runtime.js"; |
3 | 4 | import type { MockFn } from "../test-utils/vitest-mock-fn.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Configure daemon tests cover daemon install prompts, progress labels, and runtime install calls. |
1 | 2 | import { beforeEach, describe, expect, it, vi } from "vitest"; |
2 | 3 | import { maybeInstallDaemon } from "./configure.daemon.js"; |
3 | 4 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Configure gateway auth prompt tests cover interactive auth selection and model-aware auth config. |
1 | 2 | import type { NormalizedModelCatalogRow } from "@openclaw/model-catalog-core/model-catalog-types"; |
2 | 3 | import { beforeEach, describe, expect, it, vi } from "vitest"; |
3 | 4 | import type { OpenClawConfig } from "../config/types.openclaw.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Daemon install runtime warning tests cover Node runtime compatibility notices during service install. |
1 | 2 | import { afterEach, describe, expect, it, vi } from "vitest"; |
2 | 3 | |
3 | 4 | const mocks = vi.hoisted(() => ({ |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Docs command tests cover docs lookup, fetch handling, and runtime output. |
1 | 2 | import { beforeEach, describe, expect, it, vi } from "vitest"; |
2 | 3 | import type { RuntimeEnv } from "../runtime.js"; |
3 | 4 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor config-flow test utilities share mock input symbols and config fixtures across repair suites. |
1 | 2 | const DOCTOR_CONFIG_TEST_INPUT = Symbol.for("openclaw.doctorConfigFlow.testInput"); |
2 | 3 | |
3 | 4 | type DoctorConfigTestInput = { |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor legacy config migration tests cover shipped migration recipes and validation outcomes. |
1 | 2 | import fs from "node:fs"; |
2 | 3 | import os from "node:os"; |
3 | 4 | import path from "node:path"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor session lock tests cover stale lock detection, repair, and session-store lock diagnostics. |
1 | 2 | import fs from "node:fs/promises"; |
2 | 3 | import path from "node:path"; |
3 | 4 | import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。