fix: 固化 Workbench Trace 可读性探针
This commit is contained in:
@@ -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);
|
||||
});
|
||||
Reference in New Issue
Block a user