Skip to content

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

test(rail): fixture lists no Clouds rather than an empty list

milind-soni9357ceea4dc5
diff --git a/electron/rail-accounts.node-test.mjs b/electron/rail-accounts.node-test.mjs
index 8b9a8b3fd3..456f4cd246 100644
--- a/electron/rail-accounts.node-test.mjs
+++ b/electron/rail-accounts.node-test.mjs
@@ -12,7 +12,7 @@ const myCloud = (origin, id = origin) => ({ id, kind: "remote", origin, name: "M
const ownCloud = (origin, name, id = origin) => ({ id, kind: "remote", origin, name, cloud: { id: `c-${id}`, role: "owner" } });
const teamCloud = (origin, name, id = origin) => ({ id, kind: "remote", origin, name, team: { id: `t-${origin}`, role: "member" } });
const byHand = (origin, name) => ({ id: origin, kind: "remote", origin, name });
-const signedIn = (email, extra = {}) => ({ status: "connected", account: { id: email, email }, clouds: [], ...extra });
+const signedIn = (email, extra = {}) => ({ status: "connected", account: { id: email, email }, ...extra });
const list = (environmentsList, activeId = LOCAL_ID) => ({ environments: environmentsList, activeId });
const waits = (email, places, rows = places.map((entry) => ({ id: entry.id, name: entry.name, color: null, kind: entry.team ? "team" : "cloud", opens: true }))) => ({ id: email, email, places, rows });
const ids = (rows) => rows.map((row) => row.id);