Skip to content
This repository has been archived by the owner on Feb 13, 2021. It is now read-only.

Commit

Permalink
Refactoring of unit tests for AOL analytics #2
Browse files Browse the repository at this point in the history
  • Loading branch information
marian-r committed Oct 21, 2016
1 parent eb1c392 commit 0e8c0f5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/spec/unit/adapters/analytics/aol_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ const ANALYTICS_EVENTS = {

describe('AOL analytics adapter', () => {

before(() => {
aolAnalytics.enableAnalytics({});
});

afterEach(() => {
aolAnalytics.adUnits = {};
});
Expand Down Expand Up @@ -78,8 +82,6 @@ describe('AOL analytics adapter', () => {
return Object.assign({}, DEFAULT_RECEIVED_BID, bidResponse);
}

aolAnalytics.enableAnalytics({});

describe('enableAnalytics()', () => {
afterEach(() => {
if (utils.logMessage.restore) {
Expand Down

0 comments on commit 0e8c0f5

Please sign in to comment.