mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-07 07:58:36 +00:00
11 lines
348 B
TypeScript
11 lines
348 B
TypeScript
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 })).toContain(
|
|
"last exit 134 (SIGABRT/abort)",
|
|
);
|
|
});
|
|
});
|