initial
This commit is contained in:
7
web/tests/unit/utils.test.ts
Normal file
7
web/tests/unit/utils.test.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
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');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user