test: add dev edge health smoke

This commit is contained in:
HWLAB Code Queue
2026-05-21 16:42:07 +00:00
parent 245a236ed0
commit 6da6ab40bc
15 changed files with 989 additions and 9 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env node
import { runDevEdgeHealthSmoke } from "./src/dev-edge-health-smoke-lib.mjs";
try {
const { report, exitCode } = await runDevEdgeHealthSmoke(process.argv.slice(2));
process.stdout.write(`${JSON.stringify(report, null, 2)}\n`);
process.exitCode = exitCode;
} catch (error) {
process.stderr.write(`[dev-edge-health-smoke] ${error instanceof Error ? error.stack : String(error)}\n`);
process.exitCode = 1;
}