@@ -10,7 +10,12 @@ describe('limelightDigitalAdapter', function () {
1010 host : 'exchange.ortb.net' ,
1111 adUnitId : 123 ,
1212 adUnitType : 'banner' ,
13- publisherId : 'perfectPublisher'
13+ publisherId : 'perfectPublisher' ,
14+ custom1 : 'custom1' ,
15+ custom2 : 'custom2' ,
16+ custom3 : 'custom3' ,
17+ custom4 : 'custom4' ,
18+ custom5 : 'custom5'
1419 } ,
1520 placementCode : 'placement_0' ,
1621 auctionId : '74f78609-a92d-4cf1-869f-1b244bbfb5d2' ,
@@ -49,7 +54,12 @@ describe('limelightDigitalAdapter', function () {
4954 params : {
5055 host : 'ads.project-limelight.com' ,
5156 adUnitId : 456 ,
52- adUnitType : 'banner'
57+ adUnitType : 'banner' ,
58+ custom1 : 'custom1' ,
59+ custom2 : 'custom2' ,
60+ custom3 : 'custom3' ,
61+ custom4 : 'custom4' ,
62+ custom5 : 'custom5'
5363 } ,
5464 placementCode : 'placement_1' ,
5565 auctionId : '482f88de-29ab-45c8-981a-d25e39454a34' ,
@@ -90,7 +100,12 @@ describe('limelightDigitalAdapter', function () {
90100 host : 'exchange.ortb.net' ,
91101 adUnitId : 789 ,
92102 adUnitType : 'video' ,
93- publisherId : 'secondPerfectPublisher'
103+ publisherId : 'secondPerfectPublisher' ,
104+ custom1 : 'custom1' ,
105+ custom2 : 'custom2' ,
106+ custom3 : 'custom3' ,
107+ custom4 : 'custom4' ,
108+ custom5 : 'custom5'
94109 } ,
95110 placementCode : 'placement_2' ,
96111 auctionId : 'e4771143-6aa7-41ec-8824-ced4342c96c8' ,
@@ -128,7 +143,12 @@ describe('limelightDigitalAdapter', function () {
128143 params : {
129144 host : 'exchange.ortb.net' ,
130145 adUnitId : 789 ,
131- adUnitType : 'video'
146+ adUnitType : 'video' ,
147+ custom1 : 'custom1' ,
148+ custom2 : 'custom2' ,
149+ custom3 : 'custom3' ,
150+ custom4 : 'custom4' ,
151+ custom5 : 'custom5'
132152 } ,
133153 placementCode : 'placement_2' ,
134154 auctionId : 'e4771143-6aa7-41ec-8824-ced4342c96c8' ,
@@ -196,7 +216,12 @@ describe('limelightDigitalAdapter', function () {
196216 'transactionId' ,
197217 'publisherId' ,
198218 'userIdAsEids' ,
199- 'supplyChain'
219+ 'supplyChain' ,
220+ 'custom1' ,
221+ 'custom2' ,
222+ 'custom3' ,
223+ 'custom4' ,
224+ 'custom5'
200225 ) ;
201226 expect ( adUnit . id ) . to . be . a ( 'number' ) ;
202227 expect ( adUnit . bidId ) . to . be . a ( 'string' ) ;
@@ -205,6 +230,11 @@ describe('limelightDigitalAdapter', function () {
205230 expect ( adUnit . sizes ) . to . be . an ( 'array' ) ;
206231 expect ( adUnit . userIdAsEids ) . to . be . an ( 'array' ) ;
207232 expect ( adUnit . supplyChain ) . to . be . an ( 'object' ) ;
233+ expect ( adUnit . custom1 ) . to . be . a ( 'string' ) ;
234+ expect ( adUnit . custom2 ) . to . be . a ( 'string' ) ;
235+ expect ( adUnit . custom3 ) . to . be . a ( 'string' ) ;
236+ expect ( adUnit . custom4 ) . to . be . a ( 'string' ) ;
237+ expect ( adUnit . custom5 ) . to . be . a ( 'string' ) ;
208238 } )
209239 } )
210240 } )
0 commit comments