use-inboxes.test.ts305 BView on GitHub
import { newInboxId } from '@/modules/threads/hooks/use-inboxes';

describe('useInboxes helpers', () => {
  it('creates inbox ids with expected prefix', () => {
    const id = newInboxId();
    expect(id.startsWith('inbox-')).toBe(true);
    expect(id.length).toBeGreaterThan('inbox-'.length);
  });
});