-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stub adloader across the board to prevent requests going out #3196
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dumb question, but why can't we just delete adLoader.js ? We already deprecated it right...
That is the goal as mentioned in the description #2779 by @jsnellbaker. Jason did some cleanup. |
@mkendall07 I'm not sure on the status of adloader.js as a whole, however it only exports two functions ( |
alright well the work is already done here so I'm good with merging. Eventually we should delete it. Thanks! |
…3196) * stub adloader across the board to prevent requests going out * add the adloader stub
…3196) * stub adloader across the board to prevent requests going out * add the adloader stub
…3196) * stub adloader across the board to prevent requests going out * add the adloader stub
Type of change
Description of change
Pulled out the adloader stubbing into a global mock so that it is stubbed by default. Modules that need to use the actual adloader implementation (like adloader_spec.js) can access the original through the mock module.