1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

fix: relax email checking (#9183)

This commit is contained in:
Mateusz Kwasniewski 2025-01-31 15:10:18 +01:00 committed by GitHub
parent 9f568b79b2
commit 3b76c31838
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,7 @@ test('Should create user with only email defined', () => {
expect(user.email).toBe('some@email.com');
});
test('Should require valid email', () => {
test.skip('Should require valid email', () => {
expect(() => {
new User({ id: 11, email: 'some@' });
}).toThrow(Error('Email "value" must be a valid email'));