Skip to content

Commit

Permalink
refactor getExistingContactsData
Browse files Browse the repository at this point in the history
  • Loading branch information
koladilip committed Feb 7, 2024
1 parent 17b8f38 commit 7867a7e
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/v0/destinations/hs/util.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});

0 comments on commit 7867a7e

Please sign in to comment.