Skip to content

Commit 875c78c

Browse files
author
Mattias Grenhall
committed
Update failing test-case
1 parent 1758b06 commit 875c78c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/auth/int.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ describe('Auth', () => {
10471047
expect(emailValidation('user@example-.com', mockContext)).toBe('validation:emailAddress')
10481048
})
10491049
it('should not allow emails that start with dot', () => {
1050-
expect(emailValidation('.user@example.com', mockContext)).toBe('validation:emailAddress')
1050+
expect(emailValidation('.user@example.com', mockContext)).toBe(false)
10511051
})
10521052
it('should not allow emails that have a comma', () => {
10531053
expect(emailValidation('user,name@example.com', mockContext)).toBe('validation:emailAddress')

0 commit comments

Comments
 (0)