Skip to content

Commit 3e06456

Browse files
committed
chore: updated contact validation message with regex
1 parent 96a0f75 commit 3e06456

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/types/Patterns.test.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,8 @@ const TESTDATA = {
9090
],
9191
},
9292
PHONE: {
93-
valid: [
94-
'+1 123-456-7890',
95-
'+49 152 08561111',
96-
'+1 (123) 456-7890',
97-
'0152 08561111',
98-
'015208561111',
99-
],
100-
invalid: ['+49 1520856', '+1 (12345) 7890', '+49 1234 567890123', '12345'],
93+
valid: ['+1 123456789', '+44 1234567890', '+1 1234567890'],
94+
invalid: ['123456789', '+1 (12345) 7890', '+0 123456', '+12345678abc'],
10195
},
10296
DOMAIN: {
10397
valid: [

0 commit comments

Comments
 (0)