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: align transaction fixture with merged main

xuzini-xzne7ab845ddfd3
diff --git a/apps/desktop/src/main/maker-ipc/__tests__/agent-input-coordinator.test.ts b/apps/desktop/src/main/maker-ipc/__tests__/agent-input-coordinator.test.ts
index 28e6344701..a403aaf3b0 100644
--- a/apps/desktop/src/main/maker-ipc/__tests__/agent-input-coordinator.test.ts
+++ b/apps/desktop/src/main/maker-ipc/__tests__/agent-input-coordinator.test.ts
@@ -14532,10 +14532,10 @@ describe('usage-limit wait (ordinary tasks)', () => {
session, didInjectOrcaInstructions: false, didInjectProjectContext: false,
})).mockRejectedValueOnce(quota);
const transaction = createMakerSendTransaction({
- statDirectory: async () => ({ isDirectory: () => true }),
getSession: () => rehydrate ? session : undefined,
closeSession: async () => {}, preflightBotRuntimeResources: async () => {},
getSessionMeta: async () => ({}), ensureRemoteReadyForSessionStart: async () => {},
+ statDirectory: async () => ({ isDirectory: () => true }),
checkWorkDirExists: async () => true, isOrcaMcpHydrated: () => !rehydrate,
buildCreateOptsWithStderr: x => x, synthesizeOrcaVendorOptionsFromDb: async () => rehydrate,
readSessionExtraDirsFromDb: async () => [], readSessionWorkingDirFromDb: async () => '/repo',