fix: unified handling of editor reloading (#32)

Co-authored-by: hugo <hugoms@me.com>
This commit is contained in:
Georg Bauer
2026-03-04 09:28:20 +01:00
committed by GitHub
parent 32b66e1677
commit 08ef72a802
19 changed files with 633 additions and 239 deletions

View File

@@ -11,7 +11,7 @@ describe('chat surface shared usage guards', () => {
Element.prototype.scrollIntoView = vi.fn();
}
useAppStore.setState({ tabs: [], activeTabId: null, activeView: 'posts' });
useAppStore.setState({ tabs: [], activeTabId: null, activeView: 'posts', activeProject: { id: 'project-1', name: 'Test', path: '/tmp/test' } as any });
window.electronAPI.chat = {
checkReady: vi.fn().mockResolvedValue({ ready: true }),