mobilizon.chapril.org-mobil.../js/tests/e2e/specs/browser-language.js
Thomas Citharel 8dc5b8a4b0
Fix lint issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-14 10:21:04 +01:00

6 lines
229 B
JavaScript

// 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" });
}