Skip to content

The open alternative to Salesforce, designed for AI.

304 B
Raw Blame
import { capitalize } from '@/utils/strings/capitalize';
describe('capitalize', () => {
  it('should capitalize a string', () => {
    expect(capitalize('test')).toBe('Test');
  });

  it('should return an empty string if input is an empty string', () => {
    expect(capitalize('')).toBe('');
  });
});