19 lines · 604 B · TypeScript
RawDownload
import { describe, expect, it } from "vite-plus/test"; import { resolveAgentAwarenessPlatformPresentation } from "./SettingsRouteScreen.logic"; describe("resolveAgentAwarenessPlatformPresentation", () => {  it("supports agent awareness settings on Android", () => {    expect(resolveAgentAwarenessPlatformPresentation("android")).toEqual({      supported: true,      subtitle: undefined,    });  });   it("leaves supported iOS settings unchanged", () => {    expect(resolveAgentAwarenessPlatformPresentation("ios")).toEqual({      supported: true,      subtitle: undefined,    });  });});