Skip to content

Commit

Permalink
Unit test fix (prebid#2739)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaiminpanchal27 authored and AdSpacesDevelopers committed Jan 30, 2019
1 parent c039d06 commit 9ac7946
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/gumgumBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as utils from 'src/utils'

import { config } from 'src/config'
import { registerBidder } from 'src/adapters/bidderFactory'
import includes from 'core-js/library/fn/array/includes';

const BIDDER_CODE = 'gumgum'
const ALIAS_BIDDER_CODE = ['gg']
Expand Down Expand Up @@ -181,7 +182,7 @@ function interpretResponse (serverResponse, bidRequest) {
let [width, height] = sizes[0].split('x')

// return 1x1 when breakout expected
if ((product === 2 || product === 5) && sizes.includes('1x1')) {
if ((product === 2 || product === 5) && includes(sizes, '1x1')) {
width = '1'
height = '1'
}
Expand Down

0 comments on commit 9ac7946

Please sign in to comment.