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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t