Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

test(lending): provide cancellation version in main dialog fixture

Sebastian B46d16fb0372f
diff --git a/electron/lending-dialogs.node-test.mjs b/electron/lending-dialogs.node-test.mjs
index f23648e6e1..9d73d3376c 100644
--- a/electron/lending-dialogs.node-test.mjs
+++ b/electron/lending-dialogs.node-test.mjs
@@ -119,6 +119,7 @@ function mainLending({ response }) {
sharingController: () => ({
identity: async () => ({ id: "info" }),
save: async (env, grant, info) => { saved.push(["server", env.id, grant, info]); },
+ beginCloudSave: () => 0,
saveCloud: async (env, choice) => { saved.push(["cloud", env.id, choice]); cloudState = { ...cloudState, ...choice }; },
cloudState: () => cloudState, activity: () => [],
}),