From a38a1fbdec2ed02f5f5f0d5e91a1cf3f0a843076 Mon Sep 17 00:00:00 2001 From: jsnellbaker <31102355+jsnellbaker@users.noreply.github.com> Date: Wed, 11 Jul 2018 14:38:41 -0400 Subject: [PATCH] fix sortable adapter unit test (#2837) --- modules/sortableBidAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sortableBidAdapter.js b/modules/sortableBidAdapter.js index 8e5e221a9d4..eeac1cf2796 100644 --- a/modules/sortableBidAdapter.js +++ b/modules/sortableBidAdapter.js @@ -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) {