Complete UI foundation and app layout implementation, stabilize container health checks, and archive both OpenSpec changes after verification.
18 lines
612 B
TypeScript
18 lines
612 B
TypeScript
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']);
|
|
});
|
|
});
|