Skip to content

Commit

Permalink
assert string returned not that we break things (prebid#4962)
Browse files Browse the repository at this point in the history
Co-authored-by: rmartinez <Rachael24!>
  • Loading branch information
robertrmartinez authored and rjvelicaria committed Apr 9, 2020
1 parent 395541c commit 62c4c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/spec/modules/rubiconAnalyticsAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ describe('rubicon analytics adapter', function () {
inputUrl = 'https://prebid.org/some/path?pbjs_debug=true';
expect(getHostNameFromReferer(inputUrl)).to.equal('prebid.org');
inputUrl = 'http://xn--p8j9a0d9c9a.xn--q9jyb4c/';
expect(getHostNameFromReferer(inputUrl)).to.equal('xn--p8j9a0d9c9a.xn--q9jyb4c');
expect(typeof getHostNameFromReferer(inputUrl)).to.equal('string');

// not non-UTF char's in query / path which break if noDecodeWholeURL not set
inputUrl = 'https://prebid.org/search_results/%95x%8Em%92%CA/?category=000';
Expand Down

0 comments on commit 62c4c17

Please sign in to comment.