Conversation
test/spec/adapters/adsupply_spec.js
Outdated
| describe('adsupply adapter tests', function () { | ||
|
|
||
| const expect = require('chai').expect; | ||
| const assert = require('chai').assert; |
There was a problem hiding this comment.
This isn't used, can be removed
There was a problem hiding this comment.
const assert = require('chai').assert; - REMOVED
const expect = require('chai').expect; - USED in the first test
src/adapters/adsupply.js
Outdated
| return false; | ||
| } | ||
|
|
||
| if (typeof params.zoneId !== "number" || params.zoneId <= 0) { |
There was a problem hiding this comment.
Upcoming ESLint error: prefer single quotes around number
src/adapters/adsupply.js
Outdated
|
|
||
| if (!media) return; | ||
|
|
||
| if (!media.Url || !media.Ecpm || typeof media.Ecpm !== "number" || media.Ecpm <= 0) { |
There was a problem hiding this comment.
Also prefer single quotes around number here
src/adapters/adsupply.js
Outdated
| }; | ||
| }; | ||
|
|
||
| module.exports = AdSupplyAdapter; No newline at end of file |
There was a problem hiding this comment.
ESLint error: newline required at end of file
There was a problem hiding this comment.
Added a new line at the end. "Files changed" tab doesn't show it for some reason but if you try to edit the file with online editor you will see there's an empty line at the end of the file. Hope it helps to fix the ESLint error.
…built * 'master' of https://github.com/prebid/Prebid.js: (21 commits) add lodash as dependency (prebid#1174) fix size mapping for s2s (prebid#1175) Improve footer styling (prebid#1171) Bugfix: internal bids requested overwritten (prebid#1173) pre-release version bump Prebid 0.23.0 Release Yieldbot adapter - multiple requestBids per pageview (prebid#1146) Widespace adapter validate size fix (prebid#1140) Audience Network: bid when at least one valid slot size (prebid#1148) Quantcast adaptor (prebid#1063) AOL Adapter - ONE Mobile endpoint implemented. (prebid#1115) Prebid Server to Server (prebid#1165) Pubgears Header Bidding Adapter (prebid#953) remove old adloader#trackPixel (prebid#1159) added audit beacon to detect misuse of this bidder. Detects auctions… (prebid#1134) Bidfluence CDN endpoint URL update (prebid#1163) AdSupply adapter (prebid#1162) Sonobi Adapter - Enable size overrides (prebid#1141) Added an editorconfig file to match jshint and jssrc files. (prebid#1147) force cpm to be a number (prebid#1161) ...
Type of change
Description of change
Other information