We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15fc5a1 commit e243841Copy full SHA for e243841
apps/sim/lib/messaging/email/validation.test.ts
@@ -24,20 +24,6 @@ describe('Email Validation', () => {
24
expect(result.checks.disposable).toBe(false)
25
})
26
27
- it.concurrent('should accept legitimate business emails', async () => {
28
- const legitimateEmails = [
29
- 'test@gmail.com',
30
- 'no-reply@yahoo.com',
31
- 'user12345@outlook.com',
32
- 'longusernamehere@gmail.com',
33
- ]
34
-
35
- for (const email of legitimateEmails) {
36
- const result = await validateEmail(email)
37
- expect(result.isValid).toBe(true)
38
- }
39
- })
40
41
it.concurrent('should reject consecutive dots (RFC violation)', async () => {
42
const result = await validateEmail('user..name@example.com')
43
expect(result.isValid).toBe(false)
0 commit comments