This commit is contained in:
@@ -46,7 +46,7 @@ describe('ProjectController', () => {
|
||||
const mockResult = { data: [], meta: {} };
|
||||
(mockProjectService.findAll as jest.Mock).mockResolvedValue(mockResult);
|
||||
|
||||
const result = await controller.findAll({});
|
||||
const result = await controller.findAll({ page: 1, limit: 10 });
|
||||
|
||||
expect(mockProjectService.findAll).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user