fix issues

This commit is contained in:
2026-01-01 22:46:59 +01:00
parent 206a03ec48
commit 79913bb45e
336 changed files with 3932 additions and 76 deletions

View File

@@ -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 () => {