chore(workspace): eradicate all tsc errors and eslint warnings across frontend, admin, and backend
Deploy Canina / deploy (push) Failing after 29s

This commit is contained in:
parsa committed 2026-08-07 07:39:26 +03:30
1 parent 4659a7b1de
commit 9f11d8fb2d
98 files changed
+1272 -1009

No files matched your search

+20 -2
View File
@@ -56,7 +56,16 @@ describe('UsersService', () => {
});
it('should addAddress', async () => {
const addressData = { title: 'Home', isDefault: true };
const addressData = {
title: 'Home',
receptorName: 'Ali',
phone: '09123456789',
province: 'Tehran',
city: 'Tehran',
detail: 'Street 1',
zipCode: '1234567890',
isDefault: true,
};
mockPrisma.userAddress.create.mockResolvedValue({
id: 'addr-id',
...addressData,
@@ -72,7 +81,16 @@ describe('UsersService', () => {
});
it('should updateAddress', async () => {
const addressData = { title: 'Work', isDefault: true };
const addressData = {
title: 'Work',
receptorName: 'Ali',
phone: '09123456789',
province: 'Tehran',
city: 'Tehran',
detail: 'Street 2',
zipCode: '1234567890',
isDefault: true,
};
mockPrisma.userAddress.update.mockResolvedValue({
id: 'addr-id',
...addressData,