Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

style(mobile): format settings regression test

Akshar Patel6f60f82e47c9
diff --git a/apps/mobile/src/screens/dashboard-upload-visibility.test.tsx b/apps/mobile/src/screens/dashboard-upload-visibility.test.tsx
index ce9017ff6..9e32cb706 100644
--- a/apps/mobile/src/screens/dashboard-upload-visibility.test.tsx
+++ b/apps/mobile/src/screens/dashboard-upload-visibility.test.tsx
@@ -2988,8 +2988,12 @@ describe("upload and dashboard visibility", () => {
sheet().props.onRename(sheet().props.cap);
const buttons = vi.mocked(Alert.prompt).mock.calls.at(-1)?.[2];
if (!Array.isArray(buttons)) throw new Error("Rename prompt missing");
- expect(vi.mocked(Alert.prompt).mock.calls.at(-1)?.[3]).toBe("plain-text");
- const save = buttons[1]?.onPress as ((value: string) => void) | undefined;
+ expect(vi.mocked(Alert.prompt).mock.calls.at(-1)?.[3]).toBe(
+ "plain-text",
+ );
+ const save = buttons[1]?.onPress as
+ | ((value: string) => void)
+ | undefined;
save?.("Roadmap review");
};
const removePassword = () => {