From 8b53ded4c5ce4de8fc5c27120071ba8bebf93239 Mon Sep 17 00:00:00 2001 From: Alex Eftimie Date: Thu, 23 May 2024 11:49:53 +0200 Subject: [PATCH] fix lint Signed-off-by: Alex Eftimie --- plugins/search/src/apis.test.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/plugins/search/src/apis.test.ts b/plugins/search/src/apis.test.ts index 5d0112c7c7..15745d2e68 100644 --- a/plugins/search/src/apis.test.ts +++ b/plugins/search/src/apis.test.ts @@ -58,19 +58,6 @@ describe('apis', () => { ); }); - // it('Sets Authorization if token is available', async () => { - // identityApi.getCredentials.mockResolvedValue({ token: 'token' }); - // await client.query(query); - // expect(getBaseUrl).toHaveBeenLastCalledWith('search'); - // expect(mockFetch).toHaveBeenLastCalledWith( - // expect.objectContaining({ - // agent: undefined, - // query: 'term=', - // headers: { authorization: ["Bearer token"] } - // }) - // ); - // }); - it('Resolves JSON from fetch response', async () => { const result = { loading: false, error: '', value: {} }; json.mockReturnValueOnce(result);