mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-02 08:24:56 +00:00
13 lines
368 B
TypeScript
13 lines
368 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { formatFastModeLabel } from "./status-labels.js";
|
|
|
|
describe("formatFastModeLabel", () => {
|
|
it("shows fast mode when enabled", () => {
|
|
expect(formatFastModeLabel(true)).toBe("Fast: on");
|
|
});
|
|
|
|
it("shows fast mode when disabled", () => {
|
|
expect(formatFastModeLabel(false)).toBe("Fast: off");
|
|
});
|
|
});
|