fix issues
This commit is contained in:
@@ -187,11 +187,14 @@ describe('AuthService', () => {
|
||||
});
|
||||
|
||||
expect(loginUseCase.execute).toHaveBeenCalledWith({ email: 'e3', password: 'p3' });
|
||||
expect(identitySessionPort.createSession).toHaveBeenCalledWith({
|
||||
id: 'u3',
|
||||
displayName: 'd3',
|
||||
email: 'e3',
|
||||
});
|
||||
expect(identitySessionPort.createSession).toHaveBeenCalledWith(
|
||||
{
|
||||
id: 'u3',
|
||||
displayName: 'd3',
|
||||
email: 'e3',
|
||||
},
|
||||
undefined
|
||||
);
|
||||
});
|
||||
|
||||
it('loginWithEmail throws on use case error and prefers details.message', async () => {
|
||||
|
||||
Reference in New Issue
Block a user