Skip to content
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

add stub for adloader.loadScript in various adapter test files #3193

Merged
merged 2 commits into from
Oct 17, 2018

Conversation

jsnellbaker
Copy link
Collaborator

Type of change

  • Other

Description of change

This PR adds a stub for the adloder.loadScript function in various adapters' spec files that test the Renderer object.

Previously, there were a series of sporadic errors/warnings when running browserstack tests due to the loadScript function attempting to load valid/faked values for the renderer source url. #3187 is one example of the errors that were causing unit test failures.

With the stubs in place, these requests will be properly handled and greatly reduce the spam in the browserstack test's console output.

@snapwich
Copy link
Collaborator

LGTM

@snapwich snapwich merged commit c238e68 into master Oct 17, 2018
@snapwich snapwich deleted the stub_renderer_in_tests branch October 17, 2018 21:41
pedrolopezmrf pushed a commit to Marfeel/Prebid.js that referenced this pull request Mar 18, 2019
…d#3193)

* add stub for adloader in various adapter test files

* remove unneeded commented line of code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants