Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jpiros committed Jan 21, 2025
1 parent b043465 commit 1bfea51
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion modules/consumableBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export const spec = {
/**
* Make a server request from the list of BidRequests.
*
* @param {validBidRequests[]} - an array of bids
* @param {validBidRequests[]} validBidRequests An array of bids
* @param {Object} bidderRequest The bidder's request info.
* @return ServerRequest Info describing the request to the server.
*/

Expand Down
16 changes: 8 additions & 8 deletions test/spec/modules/consumableBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -755,18 +755,18 @@ describe('Consumable BidAdapter', function () {
expect(data.user.eids).to.deep.equal(bidderRequest.bidRequest[0].userIdAsEids);
});

it("Request should remove non-objects for userIdAsEids", function () {
it('Request should remove non-objects for userIdAsEids', function () {
bidderRequest.bidRequest[0].userId = {};
bidderRequest.bidRequest[0].userId.tdid = "TTD_ID";
bidderRequest.bidRequest[0].userId.tdid = 'TTD_ID';
bidderRequest.bidRequest[0].userIdAsEids = [
{
source: "adserver.org",
source: 'adserver.org',
uids: [
{
id: "TTD_ID_FROM_USER_ID_MODULE",
id: 'TTD_ID_FROM_USER_ID_MODULE',
atype: 1,
ext: {
rtiPartner: "TDID",
rtiPartner: 'TDID',
},
},
],
Expand All @@ -775,13 +775,13 @@ describe('Consumable BidAdapter', function () {
];
let scrubbedEids = [
{
source: "adserver.org",
source: 'adserver.org',
uids: [
{
id: "TTD_ID_FROM_USER_ID_MODULE",
id: 'TTD_ID_FROM_USER_ID_MODULE',
atype: 1,
ext: {
rtiPartner: "TDID",
rtiPartner: 'TDID',
},
},
],
Expand Down

0 comments on commit 1bfea51

Please sign in to comment.