fix: update group sync test to match error message format

main
borja (aider) 3 months ago
parent 43bd5080ea
commit 98fbd3df6a

@ -150,7 +150,7 @@ describe('GroupSyncService', () => {
json: async () => ({ error: 'Not Found' })
}));
await expect(GroupSyncService.syncGroups()).rejects.toThrow('API request failed: Not Found');
await expect(GroupSyncService.syncGroups()).rejects.toThrow('API request failed: 404 Not Found');
expect(consoleErrorMock).toHaveBeenCalled();
console.error = originalConsoleError;

Loading…
Cancel
Save