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

Kargo Bid Adapter: test spec overhaul #11417

Merged
merged 5 commits into from Apr 30, 2024
Merged

Conversation

nickllerandi
Copy link
Contributor

Type of change

  • Refactoring (no functional changes, no api changes)

Description of change

  • Refactored the tests for the Kargo bid adapter. The tests were refactored to expand coverage of edge cases and invalid data being provided.
  • Updates from 29 defined tests to 81 for more detailed unit tests.

klawil and others added 2 commits April 29, 2024 11:29
* Refactor the Kargo adapter testing to be more comprehensive and include testing of invalid inputs

* Fix the window size test to pull data from the browser instead of hardcoded values

* Remove a duplicate test
@nickllerandi nickllerandi marked this pull request as draft April 29, 2024 15:52
@nickllerandi
Copy link
Contributor Author

Not failing locally so will check it out, but I believe this might be a circleci hiccup.

In FireFox, having localStorage.getItem throw an error isn't working so the test was updated to not have a valid localStorage
value to pass on FireFox.
@nickllerandi nickllerandi marked this pull request as ready for review April 30, 2024 15:25
@ChrisHuie ChrisHuie self-assigned this Apr 30, 2024
@ChrisHuie ChrisHuie merged commit ecb9218 into prebid:master Apr 30, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants