Docs: voice overlay plan and fix web mocks

This commit is contained in:
Peter Steinberger committed 2025-12-09 03:25:55 +01:00
1 parent 3a42979e53
commit 99a3102134
5 files changed
+117 -11

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ import { getReplyFromConfig } from "./reply.js";
const webMocks = vi.hoisted(() => ({
webAuthExists: vi.fn().mockResolvedValue(true),
getWebAuthAgeMs: vi.fn().mockReturnValue(120_000),
readWebSelfId: vi.fn().mockReturnValue({ e164: "+1999" }),
}));
vi.mock("../web/session.js", () => webMocks);