Skip to content

Commit

Permalink
linting issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabh-z1tech committed Sep 30, 2024
1 parent 4ed9f19 commit 0493de7
Showing 1 changed file with 16 additions and 21 deletions.
37 changes: 16 additions & 21 deletions test/spec/modules/vdoaiBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {spec} from 'modules/vdoaiBidAdapter.js';
import {newBidder} from 'src/adapters/bidderFactory.js';
import { config } from 'src/config.js';


const ENDPOINT_URL = 'https://prebid-v2.vdo.ai/auction';

describe('vdoaiBidAdapter', function () {
Expand Down Expand Up @@ -65,7 +64,6 @@ describe('vdoaiBidAdapter', function () {
'auctionId': '61466567-d482-4a16-96f0-fe5f25ffbdf1',
'mediaType': 'banner',
'adUnitCode': '1234',
'bidderRequestId': 12345,
'mediaTypes': {
banner: {
sizes: [300, 250]
Expand Down Expand Up @@ -133,13 +131,13 @@ describe('vdoaiBidAdapter', function () {
},
userIdAsEids: {},
schain: {
"ver": "1.0",
"complete": 1,
"nodes": [
'ver': '1.0',
'complete': 1,
'nodes': [
{
"asi": "vdo.ai",
"sid": "4359",
"hp": 1
'asi': 'vdo.ai',
'sid': '4359',
'hp': 1
}
]
}
Expand Down Expand Up @@ -190,8 +188,6 @@ describe('vdoaiBidAdapter', function () {
let result = spec.buildRequests(bidRequests, bidderRequests);
expect(result[0].data.uspConsent).to.be.undefined;
});


});

describe('interpretResponse', function () {
Expand Down Expand Up @@ -224,8 +220,7 @@ describe('vdoaiBidAdapter', function () {
'mediaType': 'banner'
}
};



it('should get the correct bid response', function () {
let expectedResponse = [{
'requestId': '31d1375caab87a',
Expand Down Expand Up @@ -325,14 +320,14 @@ describe('vdoaiBidAdapter', function () {
'netRevenue': true,
'mediaType': 'video',
'cookiesync': {
"status": "no_cookie",
"bidder_status": [
'status': 'no_cookie',
'bidder_status': [
{
"bidder": "vdoai",
"no_cookie": true,
"usersync": {
"url": "https://rtb.vdo.ai/setuid/",
"type": "iframe"
'bidder': 'vdoai',
'no_cookie': true,
'usersync': {
'url': 'https://rtb.vdo.ai/setuid/',
'type': 'iframe'
}
}
]
Expand Down Expand Up @@ -364,8 +359,8 @@ describe('vdoaiBidAdapter', function () {
'netRevenue': true,
'mediaType': 'video',
'cookiesync': {
"status": "no_cookie",
"bidder_status": [
'status': 'no_cookie',
'bidder_status': [
]
}
}
Expand Down

0 comments on commit 0493de7

Please sign in to comment.