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。

test(desktop): 同步主干认证恢复测试夹具并保留版本启动覆盖

ficowang6f7e12acdd44
diff --cc apps/desktop/src/main/__tests__/authCredentialRecoveryWiring.test.ts
index 4008237501,0691fca7de..4bbb1a5ec4
--- a/apps/desktop/src/main/__tests__/authCredentialRecoveryWiring.test.ts
+++ b/apps/desktop/src/main/__tests__/authCredentialRecoveryWiring.test.ts
@@@ -48,8 -88,7 +95,8 @@@ describe('production credential recover
},
authManager: {
initialize: () => (rejects ? Promise.reject(outcome) : Promise.resolve(outcome)),
- ensureStableOwnerPostCommitTasks: vi.fn(async () => {}),
+ requestStableOwnerPostCommit: vi.fn(),
+ getAuthState,
},
authCredentialRecovery: { request },
app: { isPackaged: true },