Skip to content

Commit

Permalink
fix circle ci failing tests (prebid#5113)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fawke authored and iggyfisk committed Jun 22, 2020
1 parent 9168897 commit 3763360
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/spec/modules/relaidoBidAdapter_spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { expect } from 'chai';
import { spec } from 'modules/relaidoBidAdapter.js';
import * as url from 'src/url.js';
import * as utils from 'src/utils.js';

const UUID_KEY = 'relaido_uuid';
Expand Down Expand Up @@ -275,7 +274,7 @@ describe('RelaidoAdapter', function () {
ref: window.location.href,
}
spec.onBidWon(bid);
const parser = url.parse(stub.getCall(0).args[0]);
const parser = utils.parseUrl(stub.getCall(0).args[0]);
const query = parser.search;
expect(parser.hostname).to.equal('api.relaido.jp');
expect(parser.pathname).to.equal('/tr/v1/prebid/win.gif');
Expand Down Expand Up @@ -309,7 +308,7 @@ describe('RelaidoAdapter', function () {
timeout: bidderRequest.timeout,
}];
spec.onTimeout(data);
const parser = url.parse(stub.getCall(0).args[0]);
const parser = utils.parseUrl(stub.getCall(0).args[0]);
const query = parser.search;
expect(parser.hostname).to.equal('api.relaido.jp');
expect(parser.pathname).to.equal('/tr/v1/prebid/timeout.gif');
Expand Down

0 comments on commit 3763360

Please sign in to comment.