Skip to content

Commit

Permalink
UA utils: fix tests (prebid#11947)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgirardi authored and DecayConstant committed Jul 18, 2024
1 parent 89c103d commit a2b0a48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/spec/libraries/userAgentUtils_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ describe('Test user agent categorization', () => {
it('user agent is other', () => {
const otherUserAgent = 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'
window.navigator.__defineGetter__('userAgent', () => otherUserAgent);
window.navigator.__defineGetter__('appVersion', () => '');
expect(getOS()).to.equal(osTypes.OTHER);
})
})
Expand Down

0 comments on commit a2b0a48

Please sign in to comment.