Skip to content

Commit

Permalink
feat: [EX-3265] fix test for interpretResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
maximpakhomov authored May 25, 2022
1 parent 44b563e commit 7553217
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions test/spec/modules/sovrnBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,18 @@ describe('sovrnBidAdapter', function() {

it('should get the correct bid response', function () {
const expectedResponse = {
...baseResponse,
requestId: '263c448586f5a1',
cpm: 0.45882675,
width: 728,
height: 90,
creativeId: 'creativelycreatedcreativecreative',
dealId: null,
currency: 'USD',
netRevenue: true,
mediaType: 'banner',
ttl: 60000,
ad: decodeURIComponent(`<!-- Creative --><img src=<!-- NURL -->>`),
meta: { advertiserDomains: [] },
ad: decodeURIComponent(`<!-- Creative --><img src=<!-- NURL -->>`)
}
const result = spec.interpretResponse(response)

Expand Down

0 comments on commit 7553217

Please sign in to comment.