Skip to content

Commit

Permalink
fix sortable adapter unit test (#2837)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnellbaker authored Jul 11, 2018
1 parent 4ad1a00 commit a38a1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sortableBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const spec = {
const sortableConfig = config.getConfig('sortable');
const haveSiteId = (sortableConfig && !!sortableConfig.siteId) || bid.params.siteId;
return !!(bid.params.tagId && haveSiteId && bid.sizes &&
bid.sizes.every(sizeArr => sizeArr.length == 2 && sizeArr.every(Number.isInteger)));
bid.sizes.every(sizeArr => sizeArr.length == 2 && sizeArr.every(num => utils.isNumber(num))));
},

buildRequests: function(validBidReqs, bidderRequest) {
Expand Down

0 comments on commit a38a1fb

Please sign in to comment.