import { describe, expect, it } from 'vitest'; import { buildProviderAccountId } from '@/lib/provider-accounts'; describe('buildProviderAccountId', () => { it('generates a distinct account id when vendor metadata is unavailable', () => { const accountId = buildProviderAccountId('moonshot', null, []); expect(accountId).toMatch(/^moonshot-/); expect(accountId).not.toBe('moonshot'); }); });