Merge branch 'main' into feat/mobile-ocr

This commit is contained in:
Yaros
2026-05-04 10:34:24 +02:00
committed by GitHub
332 changed files with 3462 additions and 1590 deletions
@@ -48,7 +48,7 @@ describe(UserService.name, () => {
ctx.getMock(EventRepository).emit.mockResolvedValue();
const user = mediumFactory.userInsert();
await expect(sut.createUser({ name: 'Test', email: user.email })).resolves.toMatchObject({ email: user.email });
await expect(sut.createUser({ name: 'Test', email: user.email })).rejects.toThrow('User exists');
await expect(sut.createUser({ name: 'Test', email: user.email })).rejects.toThrow('Email is not available');
});
it('should not return password', async () => {