test: add dev edge health smoke
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user