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。

源码契约测试:owner 提交边界改断言页签窗口销毁

Dash1e507e7e6e10
diff --git a/apps/desktop/src/main/__tests__/sessionRuntimeControlWiring.test.ts b/apps/desktop/src/main/__tests__/sessionRuntimeControlWiring.test.ts
index 1c44b1d8f8..2e8dd8ee44 100644
--- a/apps/desktop/src/main/__tests__/sessionRuntimeControlWiring.test.ts
+++ b/apps/desktop/src/main/__tests__/sessionRuntimeControlWiring.test.ts
@@ -369,7 +369,7 @@ describe('session runtime control wiring', () => {
'setAppSessionCommitBoundaryHook(() => {',
'// ── Custom protocol registration',
);
- expect(body).toContain('ghostPanelWindowsController.closeForOwnerChange();');
+ expect(body).toContain('sidebarTabWindowsController.destroyAllWindows();');
expect(body.indexOf('clearAllSessionAttention();')).toBeGreaterThan(-1);
expect(body.indexOf('clearAllSessionAttention();')).toBeLessThan(
body.indexOf('authManager.setStableOwnerPostCommitTask('),