debianize-mobilizon/js/tests/e2e/specs/browser-language.js

2 lines
151 B
JavaScript
Raw Normal View History

// Set the en-US language just in case
export const onBeforeLoad = (window) => Object.defineProperty(window.navigator, 'language', { value: 'en-US' });