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:
parent
9f568b79b2
commit
3b76c31838
@ -37,7 +37,7 @@ test('Should create user with only email defined', () => {
|
|||||||
expect(user.email).toBe('some@email.com');
|
expect(user.email).toBe('some@email.com');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Should require valid email', () => {
|
test.skip('Should require valid email', () => {
|
||||||
expect(() => {
|
expect(() => {
|
||||||
new User({ id: 11, email: 'some@' });
|
new User({ id: 11, email: 'some@' });
|
||||||
}).toThrow(Error('Email "value" must be a valid email'));
|
}).toThrow(Error('Email "value" must be a valid email'));
|
||||||
|
Loading…
Reference in New Issue
Block a user