mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-09 03:28:02 +08:00
12 lines
425 B
TypeScript
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))",
|
|
);
|
|
});
|
|
});
|