9 lines
350 B
TypeScript
9 lines
350 B
TypeScript
import { expect, test } from "bun:test";
|
|
import { PLATFORM_LABELS } from "../src/lib/platform";
|
|
|
|
test("platform names are presentation-only; keys keep the wire format", () => {
|
|
expect(PLATFORM_LABELS.ios).toBe("iOS");
|
|
expect(PLATFORM_LABELS.android).toBe("Android");
|
|
expect(Object.keys(PLATFORM_LABELS).sort()).toEqual(["android", "ios"]);
|
|
});
|