Skip to content

Commit 8c84e01

Browse files
assert string returned not that we break things (#4962)
Co-authored-by: rmartinez <Rachael24!>
1 parent 79a5f46 commit 8c84e01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/spec/modules/rubiconAnalyticsAdapter_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ describe('rubicon analytics adapter', function () {
854854
inputUrl = 'https://prebid.org/some/path?pbjs_debug=true';
855855
expect(getHostNameFromReferer(inputUrl)).to.equal('prebid.org');
856856
inputUrl = 'http://xn--p8j9a0d9c9a.xn--q9jyb4c/';
857-
expect(getHostNameFromReferer(inputUrl)).to.equal('xn--p8j9a0d9c9a.xn--q9jyb4c');
857+
expect(typeof getHostNameFromReferer(inputUrl)).to.equal('string');
858858

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

0 commit comments

Comments
 (0)