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);