From ab29cbab41f303025e35f6070c0e6455f793d4fa Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 5 Mar 2024 16:44:32 +0000 Subject: [PATCH] if --- packages/backend/test/unit/FetchInstanceMetadataService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/test/unit/FetchInstanceMetadataService.ts b/packages/backend/test/unit/FetchInstanceMetadataService.ts index f87a6765a9..2e66b81fcd 100644 --- a/packages/backend/test/unit/FetchInstanceMetadataService.ts +++ b/packages/backend/test/unit/FetchInstanceMetadataService.ts @@ -87,7 +87,7 @@ describe('FetchInstanceMetadataService', () => { expect(httpRequestService.getJson).toHaveBeenCalled(); }); - test('Don\'t lock and update when recently updated', async () => { + test('Don\'t lock and update if recently updated', async () => { redisClient.set = mockRedis(); federatedInstanceService.fetch.mockResolvedValue({ infoUpdatedAt: new Date() } as any); httpRequestService.getJson.mockImplementation(() => { throw Error(); });