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(6);

    expect(navigationSections[1].title).toBe('REPORTS');
    expect(navigationSections[1].items).toHaveLength(5);

    expect(navigationSections[2].title).toBe('ADMIN');
    expect(navigationSections[2].roles).toEqual(['superuser']);
  });
});
