fix(auth,backend): synchronize auth state across stores, reset guest profile data, and resolve backend spec compilation

This commit is contained in:
parsa aghaei committed 2026-07-26 20:18:35 +03:30
1 parent 4979d4120c
commit 72badb1a7b
12 files changed
+146 -48

No files matched your search

+2 -2
View File
@@ -42,8 +42,8 @@ describe('OrdersController', () => {
it('should list orders of user', async () => {
const req = { user: { id: 'user-id' } };
const result = await controller.findAll(req);
expect(service.findAllByUser).toHaveBeenCalledWith('user-id');
const result = await controller.findAll(req, {});
expect(service.findAllByUser).toHaveBeenCalledWith('user-id', {});
expect(result).toHaveLength(1);
});