We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1758b06 commit 875c78cCopy full SHA for 875c78c
test/auth/int.spec.ts
@@ -1047,7 +1047,7 @@ describe('Auth', () => {
1047
expect(emailValidation('user@example-.com', mockContext)).toBe('validation:emailAddress')
1048
})
1049
it('should not allow emails that start with dot', () => {
1050
- expect(emailValidation('.user@example.com', mockContext)).toBe('validation:emailAddress')
+ expect(emailValidation('.user@example.com', mockContext)).toBe(false)
1051
1052
it('should not allow emails that have a comma', () => {
1053
expect(emailValidation('user,name@example.com', mockContext)).toBe('validation:emailAddress')
0 commit comments