Skip to content

Commit

Permalink
Fixed imports and made adform support aliasing (prebid#1518)
Browse files Browse the repository at this point in the history
* Fixed imports and made adform support aliasing

* Fix the broken tests

* Renamed _adapter

* Updated imports
  • Loading branch information
ptomasroos committed Sep 1, 2017
1 parent ee57172 commit e0d8f96
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/spec/modules/adformBidAdapter_spec.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { assert } from 'chai';
import * as utils from '../../../src/utils';
import adLoader from '../../../src/adloader';
import bidManager from '../../../src/bidmanager';
import adapter from '../../../modules/adformBidAdapter';
import * as utils from 'src/utils';
import adLoader from 'src/adloader';
import bidManager from 'src/bidmanager';
import AdformAdapter from 'modules/adformBidAdapter';

describe('Adform adapter', () => {
let _adapter, sandbox;
let _adformAdapter, sandbox;

describe('request', () => {
it('should create callback method on PREBID_GLOBAL', () => {
Expand Down Expand Up @@ -112,11 +112,11 @@ describe('Adform adapter', () => {

beforeEach(() => {
var transactionId = 'transactionId';
_adapter = adapter();
_adformAdapter = new AdformAdapter();
utils.getUniqueIdentifierStr = () => 'callback';
sandbox = sinon.sandbox.create();
sandbox.stub(adLoader, 'loadScript');
_adapter.callBids({
_adformAdapter.callBids({
bids: [
{
bidId: 'abc',
Expand Down

0 comments on commit e0d8f96

Please sign in to comment.