You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running tests with jest locally: window.navigator.userAgent of the browser is: Mozilla/5.0 (darwin) AppleWebKit/537.36 (KHTML, like Gecko) jsdom/16.5.3
However, in my CircleCI pipeline,: window.navigator.userAgent of the browser is: Mozilla/5.0 (linux) AppleWebKit/537.36 (KHTML, like Gecko) jsdom/16.5.3
Running tests with jest locally:
window.navigator.userAgent
of the browser is:Mozilla/5.0 (darwin) AppleWebKit/537.36 (KHTML, like Gecko) jsdom/16.5.3
Bowser.parse("Mozilla/5.0 (darwin) AppleWebKit/537.36 (KHTML, like Gecko) jsdom/16.5.3")
resolves to{ browser: { name: 'Safari' }, os: {}, platform: {}, engine: { name: 'Blink' } }
However, in my CircleCI pipeline,:
window.navigator.userAgent
of the browser is:Mozilla/5.0 (linux) AppleWebKit/537.36 (KHTML, like Gecko) jsdom/16.5.3
Bowser.parse("Mozilla/5.0 (linux) AppleWebKit/537.36 (KHTML, like Gecko) jsdom/16.5.3")
resolves to{ browser: { name: 'Safari' }, os: { name: 'Linux' }, platform: { type: 'desktop' }, engine: { name: 'Blink' } }
I think
Bowser.parse()
should be able to handledarwin
, but if you think this can be resolved somehow with jsdom, please let me know.The text was updated successfully, but these errors were encountered: