mobilizon.chapril.org-mobil.../js/tests/e2e/specs/browser-language.js

6 lines
229 B
JavaScript
Raw Normal View History

// Set the en-US language just in case
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export default function (window) {
Object.defineProperty(window.navigator, "language", { value: "en-US" });
}