wip: agui integration
This commit is contained in:
@@ -38,6 +38,7 @@ describe('AppStore', () => {
|
||||
posts: [],
|
||||
selectedPostId: null,
|
||||
dirtyPosts: new Set(),
|
||||
assistantSidebarVisible: false,
|
||||
});
|
||||
});
|
||||
|
||||
@@ -167,6 +168,16 @@ describe('AppStore', () => {
|
||||
expect(getStore().preferredEditorMode).toBe('markdown');
|
||||
});
|
||||
|
||||
it('should toggle assistant sidebar visibility', () => {
|
||||
expect(getStore().assistantSidebarVisible).toBe(false);
|
||||
|
||||
getStore().toggleAssistantSidebar();
|
||||
expect(getStore().assistantSidebarVisible).toBe(true);
|
||||
|
||||
getStore().toggleAssistantSidebar();
|
||||
expect(getStore().assistantSidebarVisible).toBe(false);
|
||||
});
|
||||
|
||||
it('should set active panel tab', () => {
|
||||
getStore().setPanelActiveTab('output');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user