Skip to content

Commit

Permalink
EX-2588 Fix interpretResponse test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhalovich committed Sep 14, 2021
1 parent 00ca181 commit 1fa6e10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/spec/modules/sovrnBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,14 @@ describe('sovrnBidAdapter', function() {

it('should get correct bid response when dealId is passed', function () {
response.body.seatbid[0].bid[0].dealid = 'baking';
const expectedResponse = {
...baseResponse,
'dealId': 'baking',
}

const result = spec.interpretResponse(response)

expect(result[0]).to.deep.equal(baseResponse);
expect(result[0]).to.deep.equal(expectedResponse);
});

it('should get correct bid response when ttl is set', function () {
Expand Down

0 comments on commit 1fa6e10

Please sign in to comment.