Skip to content

Commit

Permalink
✅ test: Fix changelog test (lobehub#5190)
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 authored Dec 26, 2024
1 parent 5ad66a6 commit 50e0dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/changelog/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ describe('ChangelogService', () => {
(global.fetch as any).mockRejectedValue(new Error('Fetch failed'));

const result = await service.getChangelogIndex();
expect(result).toBe(false);
expect(result).toEqual([]);
});

it('should return only community items when config type is community', async () => {
Expand Down

0 comments on commit 50e0dc4

Please sign in to comment.