1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-14 06:25:52 +02:00
This commit is contained in:
tamaina
2024-03-05 16:44:32 +00:00
parent 01b8d2fdb1
commit ab29cbab41

View File

@@ -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(); });