fix: 固化 Workbench Trace 可读性探针

This commit is contained in:
Codex
2026-07-10 18:00:24 +02:00
parent 92686ff213
commit b6f5e5efd4
21 changed files with 1378 additions and 16 deletions
@@ -0,0 +1,14 @@
import assert from "node:assert/strict";
import { test } from "bun:test";
import { hwlabNodeWebProbeHelp } from "../hwlab-node-help";
test("web-probe help promotes reusable Workbench debug and product Trace commands", () => {
const help = hwlabNodeWebProbeHelp();
const examples = Array.isArray(help.examples) ? help.examples.join("\n") : "";
const notes = Array.isArray(help.notes) ? help.notes.join("\n") : "";
assert.match(examples, /--type validateWorkbenchKafkaDebugReplay/u);
assert.match(examples, /--type validateWorkbenchTraceReadability/u);
assert.match(notes, /validateWorkbenchTraceReadability/u);
assert.match(notes, //u);
});