mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 16:23:22 +00:00
FIX - cover numeric phone formatting
This commit is contained in:
@@ -11,5 +11,6 @@ describe('phone numbers', () => {
|
||||
it('formats keypad input incrementally', () => {
|
||||
expect(formatPhoneNumber('5551234567')).toBe('555 123 4567')
|
||||
expect(formatPhoneNumber('5551')).toBe('555 1')
|
||||
expect(formatPhoneNumber(5551234567)).toBe('555 123 4567')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user