mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-28 13:26:04 -06:00
docs: document status-all command tests
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// Status-all channels table tests verify gateway issue overlays and channel row rendering.
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { buildStatusChannelsTableRows } from "./channels-table.js";
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Mattermost token summary tests cover status-all credential source counting and safe display output.
|
||||
import { describe, expect, it } from "vitest";
|
||||
import type { ChannelAccountSnapshot } from "../../channels/plugins/types.public.js";
|
||||
import {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Status-all channels tests cover plugin-generic channel rows, account inspection, and load failure reporting.
|
||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import { buildChannelsTable } from "./channels.js";
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Status-all diagnosis tests cover port checks, restart logs, config issues, and safe diagnostic output.
|
||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import type { ProgressReporter } from "../../cli/progress.js";
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Status-all format tests cover dashboard URLs, gateway summaries, overview rows, and JSON payload shapes.
|
||||
import { describe, expect, it } from "vitest";
|
||||
import {
|
||||
baseStatusExpectedUpdateChannelInfo,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Status-all gateway tests cover log-tail summaries for auth and runtime diagnostic lines.
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { summarizeLogTail } from "./gateway.js";
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Status-all report-lines tests verify rendered report structure and diagnosis section integration.
|
||||
import { describe, expect, it, vi } from "vitest";
|
||||
import type { ProgressReporter } from "../../cli/progress.js";
|
||||
import { buildStatusAllReportLines } from "./report-lines.js";
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Status-all report table tests cover agent, channel detail, and overview row construction.
|
||||
import { describe, expect, it } from "vitest";
|
||||
import {
|
||||
buildStatusAgentTableRows,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Text report tests cover mixed raw, line, and table section rendering order for status-all output.
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { appendStatusReportSections } from "./text-report.js";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user