Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function getAdEngine(lazyQueueMock, adDecoratorMock) {
return modules['ext.wikia.adEngine.adEngine'](
adInfoTrackerMock,
adDecoratorMock || adDecoratorLegacyParamFormatMock,
eventDispatcher,
adSlotMock,
slotTrackerMock,
slotTweakerMock,
hooksMock,
docMock,
lazyQueueMock,
logMock
);
}
function getAdEngine(lazyQueueMock, adDecoratorMock) {
return modules['ext.wikia.adEngine.adEngine'](
adDecoratorMock || adDecoratorLegacyParamFormatMock,
eventDispatcher,
mocks.adSlot,
mocks.slotRegistry,
mocks.slotTracker,
mocks.slotTweaker,
mocks.viewabilityTracker,
mocks.hooks,
mocks.doc,
lazyQueueMock,
mocks.log
);
}
function getAdEngine() {
return modules['ext.wikia.adEngine.adEngine'](
mocks.adDecoratorLegacyParamFormat,
mocks.eventDispatcher,
mocks.adSlot,
mocks.slotRegistry,
mocks.slotTracker,
mocks.slotTweaker,
mocks.viewabilityTracker,
mocks.hooks,
mocks.doc,
mocks.lazyQueue,
mocks.log
);
}