таски готовы
This commit is contained in:
@@ -14,6 +14,15 @@ vi.mock('$app/environment', () => ({
|
||||
}));
|
||||
|
||||
describe('SidebarStore', () => {
|
||||
beforeEach(() => {
|
||||
sidebarStore.set({
|
||||
isExpanded: true,
|
||||
activeCategory: 'dashboards',
|
||||
activeItem: '/dashboards',
|
||||
isMobileOpen: false
|
||||
});
|
||||
});
|
||||
|
||||
// [DEF:test_sidebar_initial_state:Function]
|
||||
// @TEST: Store initializes with default values
|
||||
// @PRE: No localStorage state
|
||||
|
||||
Reference in New Issue
Block a user