feat(layout): finalize p01 and p02 changes
Complete UI foundation and app layout implementation, stabilize container health checks, and archive both OpenSpec changes after verification.
This commit is contained in:
17
frontend/tests/unit/navigation.config.test.ts
Normal file
17
frontend/tests/unit/navigation.config.test.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
import { navigationSections } from '../../src/lib/config/navigation';
|
||||
|
||||
describe('navigation config', () => {
|
||||
it('has expected section structure', () => {
|
||||
expect(navigationSections).toHaveLength(3);
|
||||
|
||||
expect(navigationSections[0].title).toBe('PLANNING');
|
||||
expect(navigationSections[0].items).toHaveLength(5);
|
||||
|
||||
expect(navigationSections[1].title).toBe('REPORTS');
|
||||
expect(navigationSections[1].items).toHaveLength(5);
|
||||
|
||||
expect(navigationSections[2].title).toBe('ADMIN');
|
||||
expect(navigationSections[2].roles).toEqual(['superuser']);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user