From 50e0dc4a5a8b86c72defb512ef9a9933753ee486 Mon Sep 17 00:00:00 2001 From: CanisMinor Date: Thu, 26 Dec 2024 15:50:14 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20test:=20Fix=20changelog=20test=20(#?= =?UTF-8?q?5190)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/services/changelog/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/services/changelog/index.test.ts b/src/server/services/changelog/index.test.ts index 2448ffd05441..c9fa0adf840b 100644 --- a/src/server/services/changelog/index.test.ts +++ b/src/server/services/changelog/index.test.ts @@ -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 () => {