Files
pikasTech-unidesk/scripts/src/hwlab-node/web-probe-help.test.ts
T
2026-07-10 18:00:24 +02:00

15 lines
680 B
TypeScript

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);
});