docs: document status-all command tests

This commit is contained in:
Peter Steinberger
2026-06-04 18:42:37 -04:00
parent bea27678b4
commit 19da9d8832
9 changed files with 9 additions and 0 deletions
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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";