7 lines
243 B
TypeScript
7 lines
243 B
TypeScript
import { formatPhone } from '@/lib/utils';
|
|
import { describe, expect, it } from 'vitest';
|
|
describe('formatPhone', () => {
|
|
it('formats a raw phone string', () => {
|
|
expect(formatPhone('+1 (361) 885-0315')).toBe('(361) 885-0315');
|
|
});
|
|
}); |