-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix lint errors in ozoneBidAdapter unit tests #3624
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jaiminpanchal27
approved these changes
Mar 11, 2019
piotr-yuxuan
added a commit
to Adikteev/Prebid.js
that referenced
this pull request
Mar 15, 2019
Squashed commit commit 0c5fbab Author: Hendrik Iseke <39734979+hiseke@users.noreply.github.com> Date: Fri Mar 15 15:20:21 2019 +0100 add bidfloor to params object (prebid#3641) * initial orbidder version in personal github repo * use adUnits from orbidder_example.html * replace obsolete functions * forgot to commit the test * check if bidderRequest object is available * try to fix weird safari/ie issue * ebayK: add more params * update orbidderBidAdapter.md * use spec.<function> instead of this.<function> for consistency reasons * add bidfloor parameter to params object commit 9e0f00c Author: Justin Grimes <justinlgrimes@gmail.com> Date: Fri Mar 15 06:19:57 2019 -0700 Consumable Bid Adapter: Pass GDPR and Prebid version info. Pixel syncs. (prebid#3578) commit b4870e7 Author: Harshad Mane <harshad.mane@pubmatic.com> Date: Thu Mar 14 07:23:54 2019 -0700 Added a consistent prefix in logWarn message in PubMatic adapter (prebid#3633) commit 18b04f3 Author: Jaimin Panchal <email@example.com> Date: Tue Mar 12 17:04:17 2019 -0400 Increment pre version commit c8f928c Author: Jaimin Panchal <email@example.com> Date: Tue Mar 12 16:56:58 2019 -0400 Prebid 2.6.0 release commit 1be1488 Author: jsnellbaker <31102355+jsnellbaker@users.noreply.github.com> Date: Tue Mar 12 16:49:44 2019 -0400 update circleci test to not auto-fix lint errors (prebid#3623) commit 6c48043 Author: Jaimin Panchal <7393273+jaiminpanchal27@users.noreply.github.com> Date: Tue Mar 12 10:19:48 2019 -0400 update auction algorithm logic for long-form (prebid#3625) commit 0b39298 Author: Benjamin Clot <benjamin.clot@gmail.com> Date: Tue Mar 12 00:26:31 2019 +0100 Apply matchMedia to the top frame (prebid#3612) * Apply matchMedia to the top frame In case Prebid.js is called from within an iFrame, matchMedia should be applied to window.top, not the containing iFrame. This PR falls back to the legacy behavior in case of unfriendly iFrames. * Spec update commit 16e5e16 Author: kusapan <yusuke-kusaba@dac.co.jp> Date: Tue Mar 12 07:25:30 2019 +0900 YIELDONE adapter - add buildRequests payload params (prebid#3611) * added UserSync * added UserSync Unit Test * support for multi sizes * register the adapter as supporting video * supporting video * change requestId acquisition method * fix the parameter name of dealID * update test parameters * support instream video * add test for bidRequest * add test for interpretResponse * add test params * add note to documentaion * add payload params * add test * delete tmax param commit c173ab2 Author: jsnellbaker <31102355+jsnellbaker@users.noreply.github.com> Date: Mon Mar 11 15:09:25 2019 -0400 fix lint errors in ozoneBidAdapter unit tests (prebid#3624) commit 72e0e97 Author: Maxime DEYMÈS <47388595+MaxSmileWanted@users.noreply.github.com> Date: Mon Mar 11 17:25:24 2019 +0100 New bid adapter for SmileWanted (prebid#3601) * New bid adapter for SmileWanted - Smilewanted BidAdapter module and test spec added * Update to correct feedback from PR prebid#3601 - Add comments - Default value for currencyCode - replacing "utils.getTopWindowUrl()" with bidderRequest.refererInfo - Update unit tests * Delete of the commented spec commit d00c92a Author: Takaaki.Kojima <banakemi@gmail.com> Date: Tue Mar 12 00:57:36 2019 +0900 update AdGeneration adapter. (prebid#3613) commit f25bc65 Author: afsheenb <afsheenb@users.noreply.github.com> Date: Fri Mar 8 17:06:07 2019 -0500 ozone adapter - fixup for gdpr and device objects (prebid#3593) * fixup for gdpr and device objects * v1.4.6 - clean up for unit test following changes submitted in 1.4.5 - removed 3 IF statements because the condition was already tested in the validation method. - added more tests to the spec file (check ozoneData, customData & lotameData are in the right place, and also NOT in the old location as well as some GDPR based unit tests) * explicitly added bidder name to debug logging statements commit 41867ad Author: Vladislav Yatsun <vyatsun@gmail.com> Date: Fri Mar 8 19:43:46 2019 +0400 Submit Brightcom Bid Adapter (prebid#3614) * Add Brightcom Bid Adapter * brightcomBidAdapter: remove getTopWindowLocation call * brightcomBidAdapter: fix naming commit 7ce5df6 Author: naoto yamaguchi <n.h.in.m.h@gmail.com> Date: Fri Mar 8 04:10:12 2019 +0900 update AJA adaptor: support native format (prebid#3504) * aja adapter support native format * not encode lp link * update adapter md * update aja adaptor md commit 24d09ad Author: Jaimin Panchal <email@example.com> Date: Wed Mar 6 15:16:59 2019 -0500 Increment pre version commit fc378b2 Author: Jaimin Panchal <email@example.com> Date: Wed Mar 6 15:08:10 2019 -0500 Prebid 2.5.1 Release commit 5a67d89 Author: jsnellbaker <31102355+jsnellbaker@users.noreply.github.com> Date: Wed Mar 6 14:22:19 2019 -0500 fix hb_cache_id for adpod bids (prebid#3617) commit a84f33e Author: Mike Chowla <mike.chowla@pubmatic.com> Date: Tue Mar 5 14:00:19 2019 -0800 Increment pre version commit 0245ab9 Author: Mike Chowla <mike.chowla@pubmatic.com> Date: Tue Mar 5 13:24:04 2019 -0800 Prebid 2.5.0 Release commit efdee9c Author: Mirko Feddern <mirkorean@users.noreply.github.com> Date: Tue Mar 5 21:47:57 2019 +0100 Add support for External Id (prebid#3594) The External Id is a dynamic reporting dimension, that can be passed through Yieldlab's adtag via the "id"-parameter. E.g. https://ad.yieldlab.net/d/1111/2222/728x90?ts=123456789&id=abc commit 6dc8094 Author: Michael <madma@users.noreply.github.com> Date: Tue Mar 5 12:16:00 2019 -0800 Add HTML5 video support param to bid requests (prebid#3596) * Add HTML5 video support param to bid requests * Use const instead of var for consistency commit 35c58e0 Author: Vladimir Fedoseev <vl.fedoseev@gmail.com> Date: Tue Mar 5 23:08:14 2019 +0300 Added myTarget Adapter (prebid#3599) * Add myTargetBidAdapter * myTargetBidAdapter: replace legacy substr function commit 9d5b9b4 Author: Isaac Dettman <idettman@rubiconproject.com> Date: Tue Mar 5 11:23:40 2019 -0800 PBS Bid Adapter oRTB caching and video updates (prebid#3528) * updates to both the rubicon adapter and the prebid server for ORTB requirements * updates to bid and auction data to reflect oRTB structure * merged pbjs commits * reverted karma conf * always add ext.prebid.targeting.includewinners: true for openrtb * add unit test for ext.prebid.targeting.includewinners for openrtb * added s2sConfig 'video.ext.prebid' support and unit test * added code comments for changes to ORTB * handle response.ext.prebid.cache values and added unit test * update to merged video.ext.prebid with request.ext.prebid * update to merge includewinners * added test for override used in s2sConfig for ext.prebid.targeting.includewinners value * fixes for response cache logic * added support for targeting cache props HB-3740 * added test for adserverTargeting change * updates to address Jira ticket revision * update to build the vastUrl object by utilizing hb_cache_host + hb_cache_path, since the hb_cache_hostpath will be suppressed soon * removed single quotes around object literal keys to match formatting * added new standard targeting keys for video * removed code added by jsnellbaker per his recommendation because our change should make it unnecessary commit 1a4c964 Author: Matt Lane <mlane@appnexus.com> Date: Tue Mar 5 11:02:25 2019 -0800 Send url value when replacing image and icons types (prebid#3609) commit 7dd9f8a Author: jsnellbaker <31102355+jsnellbaker@users.noreply.github.com> Date: Tue Mar 5 13:56:58 2019 -0500 add default sizes value for appnexus native requests (prebid#3602) commit 9868bc3 Author: Jaimin Panchal <7393273+jaiminpanchal27@users.noreply.github.com> Date: Tue Mar 5 10:28:20 2019 -0500 jsDelivr only supports https (prebid#3608) commit 01e68e1 Author: Robert Ray Martinez III <rrmartinez1552@gmail.com> Date: Mon Mar 4 20:41:39 2019 -0800 Rubicon Adapter: Switching Video Endpoint to Rubicon PBS (prebid#3610) * updates to both the rubicon adapter and the prebid server for ORTB requirements * updates to bid and auction data to reflect oRTB structure * merged pbjs commits * reverted karma conf * always add ext.prebid.targeting.includewinners: true for openrtb * add unit test for ext.prebid.targeting.includewinners for openrtb * added s2sConfig 'video.ext.prebid' support and unit test * added code comments for changes to ORTB * handle response.ext.prebid.cache values and added unit test * update to merged video.ext.prebid with request.ext.prebid * update to merge includewinners * added test for override used in s2sConfig for ext.prebid.targeting.includewinners value * fixes for response cache logic * added support for targeting cache props HB-3740 * added test for adserverTargeting change * updates to address Jira ticket revision * update to build the vastUrl object by utilizing hb_cache_host + hb_cache_path, since the hb_cache_hostpath will be suppressed soon * removed single quotes around object literal keys to match formatting * Splitting into a new branch * Enforce new required params + remove legacy mediaType support * Fixing per Eric's request * Revert "Merge branch 'HB-3018_pbs-adapter-enhancements' of https://github.com/rubicon-project/Prebid.js into Rubicon_PBS_Video" This reverts commit 712e566, reversing changes made to 4f59e48. commit 6bc6394 Author: jsnellbaker <31102355+jsnellbaker@users.noreply.github.com> Date: Mon Mar 4 15:05:12 2019 -0500 fix two issues related to hb_uuid and hb_cache_id targeting keys (prebid#3605) * move logic that assigns bid targeting params * switch order of targeting keys assignment in dfpAdServerVideo * remove redundant cache key assignment in dfp module and update unit tests * refactor logic when adding cache targeting keys * fix issue caused by refactor from another PR commit 0db21ff Author: trchandraprakash <47793448+trchandraprakash@users.noreply.github.com> Date: Mon Mar 4 10:26:52 2019 -0800 Submit Advangelists Prebid Adapter (prebid#3588) * Submit Advangelists Prebid Adapter * Submit Advangelists Prebid Adapter 1.1 * Submit Advangelists Prebid Adapter Changes commit aa6afa8 Author: Eric Nolte <eric.nolte@mediavine.com> Date: Mon Mar 4 10:19:10 2019 -0500 Return mediaType:video in unruly adapter (prebid#3591) commit dd26503 Author: Matt Lane <mlane@appnexus.com> Date: Fri Mar 1 11:47:08 2019 -0800 Fix event firing on native click (prebid#3589) commit 5112950 Author: Evgen A. Epanchin <Epanchine@gmail.com> Date: Fri Mar 1 16:29:48 2019 +0200 Added LoopMe Adapter (prebid#3586) * Added LoopMe Adapter * Replace Object.entries with entries commit d36d458 Author: nkmt <45026101+strong-zero@users.noreply.github.com> Date: Fri Mar 1 06:53:13 2019 +0900 New bidder adapter for MicroAd (prebid#3565) * Add microadBidAdapter * Remove unnecessary encodeURIComponent from microadBidAdapter * Correct procudtion endpoint for prebid commit bc9faeb Author: Jason Snellbaker <jsnellbaker@appnexus.com> Date: Wed Feb 27 14:55:31 2019 -0500 increment pre version commit 4f63887 Author: Jason Snellbaker <jsnellbaker@appnexus.com> Date: Wed Feb 27 14:46:18 2019 -0500 Prebid 2.4.0 release commit 48172be Author: jsnellbaker <31102355+jsnellbaker@users.noreply.github.com> Date: Wed Feb 27 14:30:41 2019 -0500 Revert "fix two issues related to hb_uuid and hb_cache_id targeting keys (prebid#3568)" (prebid#3595) This reverts commit 54b4188. commit 54b4188 Author: jsnellbaker <31102355+jsnellbaker@users.noreply.github.com> Date: Wed Feb 27 14:11:37 2019 -0500 fix two issues related to hb_uuid and hb_cache_id targeting keys (prebid#3568) * move logic that assigns bid targeting params * switch order of targeting keys assignment in dfpAdServerVideo * remove redundant cache key assignment in dfp module and update unit tests * refactor logic when adding cache targeting keys commit 99977a9 Author: Matt Lane <mlane@appnexus.com> Date: Wed Feb 27 11:07:22 2019 -0800 Send placeholders for configured native assets (prebid#3573) * Send placeholders for configured native assets * Post native assets on replacement request * Update names * Change config name commit fcbaa4c Author: jsnellbaker <31102355+jsnellbaker@users.noreply.github.com> Date: Wed Feb 27 12:59:15 2019 -0500 update targeting to not include adpod bids (prebid#3558) commit 621a057 Author: Matt Lane <mlane@appnexus.com> Date: Wed Feb 27 09:58:29 2019 -0800 Add adpod support to AppNexus adapter (prebid#3484) * Add new context type * Write request duplication test * Duplicate adpod placement for request * Write requireExactDuration duplication test * Duplicate adpod placement when requireExactDuration is set * Add brandCategoryExclusion config to request * Add adpod fields to bid response object * Split large requests into batches * Get context from correct object * Use util function to get request subsets * Use correct mediaType.video configuration names * Rename category prop to iabSubCatId * Comment sub function usage * Round down placements when config uneven * Set max/min duration across tags when config numbers are uneven * Account for multiple adpod adUnits * Round durationSeconds up if remainder * Use adpod constant * Update subCat usage comment * Update subCat usage comment * Change ceil to floor * fix unit test * correct flag name * uncomment todos commit 1f04f55 Author: Jaimin Panchal <7393273+jaiminpanchal27@users.noreply.github.com> Date: Wed Feb 27 12:44:45 2019 -0500 Category translation module for adpod (prebid#3513) * category translation module * update function name, refactor code and add getIabSubCategory function * move hook init and import adpod * bugfix in getting adapter spec * add hook for adserver in use * updated getting iab subcategory code * bugfix * Use individual mapping file for translation * Update default mapping url * add hook only once * update mapping url * Update brandCategoryExclusion logic * wrap in try catch * update todos and add default refreshInDays * udpate hooks * update hook commit d4ff1ec Author: Jaimin Panchal <7393273+jaiminpanchal27@users.noreply.github.com> Date: Wed Feb 27 12:43:51 2019 -0500 Adding freewheel module (prebid#3489) * adding freewheel module * adding commented references to adpod module * upadate some properties and refactor * updated adpod import and competitive exclusion logic * add hook to freewheel module * add logic for deferCaching * refactor targeting logic for deferCaching and activate commented code * modify import for test file * update hook commit e96d58e Author: jsnellbaker <31102355+jsnellbaker@users.noreply.github.com> Date: Wed Feb 27 12:42:25 2019 -0500 Adpod module (prebid#3511) * initial version of adpod module * fix hooks, clean-up and uncomment unit tests * correct issues in unit tests * add missing custom key fields in fake bids for unit tests * several updates to module and unit tests * update logic to only add hooks once * update targeting keys to new name * add module description * fix typo * add adunit check in case of multi-format * add exports for adpod targeting keys * move ADPOD constant to mediaTypes.js * undo mediaTypes change * fix unit tests * updates based on initial feedback * add msg when PBC rejects bid due to duplicate key * fix issue in videoBidCheck hook * add buffer logic when rounding bidDuration * add logic for deferCaching * update logic around brandCategoryExclusion * update support to new hook api and update logic when checking iab category field commit 36f1230 Author: Rich Snapp <richard.snapp@rakuten.com> Date: Wed Feb 27 08:54:26 2019 -0700 update fun-hooks to latest and update api (prebid#3574) * use custom bind where non-standard mootools bind could cause issues * replace missing 'rest' with implementation * latest fun-hooks * update package-lock.json * update fun-hooks to latest and update api * update fun-hooks to latest, fixes: prebid#3576 * update package-lock.json commit b6c5644 Author: Michael Callari <mike@threexsquare.com> Date: Tue Feb 26 14:53:10 2019 -0500 Updating network call to use https. prebid#3580 (prebid#3581) commit eb50bd9 Author: Maciej Lopacinski <hamsterready@gmail.com> Date: Tue Feb 26 18:00:04 2019 +0100 LiveYield Analytics Adapter DfP Support (prebid#3506) * LiveYield Analytics Adapter * tests corrections * fixed getPlacementOrAdUnitCode function * DFP support * SRTA-399 WIP * DFP handler corrections, tests added * test added * docs added * SRTA-399 LiveYield DfP support SRTA-399 Minor reformats impression value fixed changed path to rta params corrections resolveSlot fixed postprocess() param fixed docs update imprVal(), imprPartner() impl added SRTA-399 Docs, no console.log * SRTA-410 Default implementations based on hb_adid * SRTA-399 chai usage fix commit edf6f40 Author: Salomon Rada <salomon85r@gmail.com> Date: Tue Feb 26 17:46:40 2019 +0200 Cleanmedianet: Add cleanmedianet bidder adapter (prebid#3582) * Add cleanmedianet bidder adapter * Use passed in url & utils url parsing function commit 68dfb64 Author: mustafa kemal <mustafakemalugurlu+github@gmail.com> Date: Sat Feb 23 04:14:03 2019 +0300 New bid adapter for TheAdx (prebid#3547) * theAdx BidAdapter module and test spec added * requested changes from reviewer commit 2feb988 Author: PWyrembak <paul@trustx.org> Date: Fri Feb 22 21:47:21 2019 +0300 Update TrustX Bid Adapter (prebid#3563) * Add trustx adapter and tests for it * update integration example * Update trustx adapter * Post-review fixes of Trustx adapter * Code improvement for trustx adapter: changed default price type from gross to net * Update TrustX adapter to support the 1.0 version * Make requested changes for TrustX adapter * Updated markdown file for TrustX adapter * Fix TrustX adapter and spec file * Update TrustX adapter: r parameter was added to ad request as cache buster * Add support of gdpr to Trustx Bid Adapter * Add wtimeout to ad request params for TrustX Bid Adapter * TrustX Bid Adapter: remove last ampersand in the ad request * Update TrustX Bid Adapter to support identical uids in parameters * Update TrustX Bid Adapter to ignore bids that sizes do not match the size of the request commit 88a7fe9 Author: Lovell Fuller <lovell@users.noreply.github.com> Date: Fri Feb 22 05:59:49 2019 +0000 Audience Network: upgrade bid requests to use latest SDK (prebid#3571) commit 849ae8f Author: Gaudeamus <dmitry.markelov@gmail.com> Date: Fri Feb 22 06:40:31 2019 +0200 mgidAdapter (prebid#3562) * mgidAdapter * mgidAdapter description * mgidAdapter test fixes * mgidAdapter test fixes * mgidAdapter test fixes * mgidAdapter test fixes * mgidAdapter test fixes * mgidAdapter test fixes * mgidAdapter test fixes * mgidAdapter test fixes * mgidAdapter test fixes * mgidAdapter gdpr + ver * test params * test params changed * revert * revert commit b12e6dd Author: afsheenb <afsheenb@users.noreply.github.com> Date: Thu Feb 21 23:35:51 2019 -0500 added setTargeting code for custom key-value pairs (prebid#3550) * added setTargeting code for custom key-value pairs * v1.4.3 - refactored setTargeting code, includes support for pub common ID being passed inside ext.ozone object, refactored the ext.ozone object to carry any data objects defined in on-page bidder config * Update to setTargeting functionality per feedback from prebid.org. * switching from // to https:// to match unit test commit 753f76a Author: deekshithraop <deekshithraop@gmail.com> Date: Thu Feb 21 12:42:51 2019 -0500 Update removeAdUnit (prebid#3527) * Add removeAllAdUnits to the API * revert package.loc * Update removeAdUnit and remove removeAllAdUnts * update var to let commit 240c606 Author: Aiichiro Kida <42924010+aiichiro@users.noreply.github.com> Date: Fri Feb 22 02:31:33 2019 +0900 New bid adapter for OPEN8 (prebid#3521) * add open8 adapter * slotkey and fix * add maintainer address * add bidwon * check field populated commit b247aeb Author: pwecker <paul@vmgood.com> Date: Wed Feb 20 15:18:54 2019 -0500 New Adapter VMG (prebid#3525) * New Adapter VMG * anticipate absence of "buildRequests >> bidderRequest.refererInfo" in prebid_1_0 commit 6ea6a3a Author: Gena <wertixvost@gmail.com> Date: Wed Feb 20 05:52:51 2019 -0800 Add Adtelligent gdpr support (prebid#3561) * add adtelligent gdpr support * Fix test commit d175960 Author: Eric Harper <eharper@rubiconproject.com> Date: Tue Feb 19 16:20:24 2019 -0500 Increment pre version commit 8b13af0 Author: Eric Harper <eharper@rubiconproject.com> Date: Tue Feb 19 15:47:23 2019 -0500 Prebid 2.3.0 Release commit f45aa8a Author: TheMediaGrid <44166371+TheMediaGrid@users.noreply.github.com> Date: Tue Feb 19 17:51:29 2019 +0300 Add video support in Grid Bid Adapter (prebid#3545) * Added Grid Bid Adapter * remove priceType from TheMediaGrid Bid Adapter * Add video support in Grid Bid Adapter * Added test parameter for video slot * update Grid Bid Adapter to set size in response bid commit d69c982 Author: Julien Ricard <jarnix@gmail.com> Date: Fri Feb 15 14:51:32 2019 +0100 bugfix for Firefox for some ads that use document.write (prebid#3524) * bugfix for Firefox for some ads that use document.write * testing that the doc.open method is called..... * added a sinon.spy() for the doc.open method
jacekburys-quantcast
pushed a commit
to jacekburys-quantcast/Prebid.js
that referenced
this pull request
May 15, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Type of change
Description of change
When #3593 was merged, it had some lint errors in the unit test code that got into
master
.These errors were missed during the circleCI test due to the auto-fix logic of the
gulp lint
command; this is being fixed in #3623This PR fixes the lint errors in
master
so it's clean again.CC: @afsheenb