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): split hot path order assertions

Kafeifeifef7f71ba1e8
diff --git a/apps/desktop/src/main/__tests__/makerEventHotPathOrdering.test.ts b/apps/desktop/src/main/__tests__/makerEventHotPathOrdering.test.ts
index 489d765277..a294980e10 100644
--- a/apps/desktop/src/main/__tests__/makerEventHotPathOrdering.test.ts
+++ b/apps/desktop/src/main/__tests__/makerEventHotPathOrdering.test.ts
@@ -132,6 +132,10 @@ describe('maker:event hot path ordering', () => {
reconcileSource,
'markTurnEndedAfterPersistDrain(sessionId);',
'clearCodexPlanRowsForSession(sessionId);',
+ );
+ expectOrder(
+ reconcileSource,
+ 'clearCodexPlanRowsForSession(sessionId);',
'resetTurnPersistState(sessionId);',
);