mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 06:20:44 +00:00
13 lines
357 B
TypeScript
13 lines
357 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");
|
|
});
|
|
|
|
it("hides fast mode when disabled", () => {
|
|
expect(formatFastModeLabel(false)).toBeNull();
|
|
});
|
|
});
|