Files
openclaw-openclaw/src/daemon/runtime-format.test.ts
2026-06-04 20:16:21 -04:00

12 lines
425 B
TypeScript

// Daemon runtime format tests cover formatted runtime command display.
import { describe, expect, it } from "vitest";
import { formatRuntimeStatus } from "./runtime-format.js";
describe("formatRuntimeStatus", () => {
it("labels abort-shaped launchd exit statuses", () => {
expect(formatRuntimeStatus({ status: "stopped", lastExitStatus: 134 })).toBe(
"stopped (last exit 134 (SIGABRT/abort))",
);
});
});