From baaa0e5daf0d47c109de9e6c7e9d70b663853503 Mon Sep 17 00:00:00 2001 From: Guido Modarelli Date: Tue, 17 Dec 2024 12:11:34 -0300 Subject: [PATCH] fix(get-updates): refactor test cases to use 'it' for better consistency in update retrieval tests --- .../server/services/updates/get-updates.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/wazuh-check-updates/server/services/updates/get-updates.test.ts b/plugins/wazuh-check-updates/server/services/updates/get-updates.test.ts index a8ce2a0481..674a121c32 100644 --- a/plugins/wazuh-check-updates/server/services/updates/get-updates.test.ts +++ b/plugins/wazuh-check-updates/server/services/updates/get-updates.test.ts @@ -56,7 +56,7 @@ describe('getUpdates function', () => { jest.clearAllMocks(); }); - test('should return available updates from saved object', async () => { + it('should return available updates from saved object', async () => { const semver = { major: 4, minor: 3, @@ -93,7 +93,7 @@ describe('getUpdates function', () => { expect(updates).toEqual(savedObject); }); - test('should return available updates from api', async () => { + it('should return available updates from api', async () => { const semver = { major: 4, minor: 3,