website refactor
This commit is contained in:
@@ -407,7 +407,6 @@ describe('TeamRankingUseCase', () => {
|
||||
describe('error handling', () => {
|
||||
it('should handle repository errors gracefully', async () => {
|
||||
// Mock repository to throw error
|
||||
const originalFindAll = mockTeamRepo.findAll.bind(mockTeamRepo);
|
||||
mockTeamRepo.findAll = async () => {
|
||||
throw new Error('Repository connection failed');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user