From 7867a7e6294bdf42a0f5fdad4c63b3111fb0bd61 Mon Sep 17 00:00:00 2001 From: Dilip Kola Date: Wed, 7 Feb 2024 10:26:53 +0530 Subject: [PATCH] refactor getExistingContactsData --- src/v0/destinations/hs/util.test.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/v0/destinations/hs/util.test.js b/src/v0/destinations/hs/util.test.js index bd305d9e15..dcd4016d3d 100644 --- a/src/v0/destinations/hs/util.test.js +++ b/src/v0/destinations/hs/util.test.js @@ -225,19 +225,10 @@ describe('getRequestDataAndRequestOptions utility test cases', () => { after: 0, }; - const expectedRequestOptions = { - headers: { - 'Content-Type': 'application/json', - Authorization: `Bearer ${accessToken}`, - }, - }; - - const { requestData, requestOptions } = getRequestDataAndRequestOptions( + const { requestData } = getRequestDataAndRequestOptions( identifierType, chunk, - accessToken, ); expect(requestData).toEqual(expectedRequestData); - expect(requestOptions).toEqual(expectedRequestOptions); }); });