3a3104f4c6
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
14 lines
399 B
JavaScript
14 lines
399 B
JavaScript
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')
|
|
})
|
|
})
|