Files
headroom/frontend/tests/unit/navigation.config.test.ts
Santhosh Janardhanan 493cb78173 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.
2026-02-18 16:12:11 -05:00

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']);
});
});