Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

Merge remote-tracking branch 'origin/main' into fix/4697-auth-wiring-test

ficowangfb2c3532bfd9
diff --cc apps/desktop/src/main/__tests__/authCredentialRecoveryWiring.test.ts
index 4008237501,915f338291..b15a52e529
--- a/apps/desktop/src/main/__tests__/authCredentialRecoveryWiring.test.ts
+++ b/apps/desktop/src/main/__tests__/authCredentialRecoveryWiring.test.ts
@@@ -53,9 -45,9 +53,11 @@@ describe('production credential recover
},
authCredentialRecovery: { request },
app: { isPackaged: true },
+ isCindyVersionLaunchPending: vi.fn(() => versionLaunchPending),
+ recordDesktopDevAuthStartupResult: recordStartupResult,
noteAuthColdStartState: vi.fn(),
+ isCindyVersionLaunchPending: () => false,
+ recordDesktopDevAuthStartupResult: vi.fn(),
};
new Function(...Object.keys(deps), compiled)(...Object.values(deps));
if (rejects) await expect(handler()).rejects.toBe(outcome);