Skip to content

Commit

Permalink
Unit test fix (#2739)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaiminpanchal27 authored and jsnellbaker committed Jun 19, 2018
1 parent 618358b commit 3760b87
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 3760b87

Please sign in to comment.