import { describe, it, expect } from 'vitest'
import { brandTitle } from './brand.js'

describe('brandTitle', () => {
  it('returns the deployment name when set', () => {
    expect(brandTitle('Wiggleverse')).toBe('Wiggleverse')
  })

  it('falls back to a neutral placeholder when name is empty', () => {
    expect(brandTitle('')).toBe('RFC')
    expect(brandTitle(undefined)).toBe('RFC')
  })
})
