lion/packages/localize/test-helpers.js
Thomas Allmer ec8da8f12c feat: release inital public lion version
Co-authored-by: Mikhail Bashkirov <mikhail.bashkirov@ing.com>
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
Co-authored-by: Joren Broekema <joren.broekema@ing.com>
Co-authored-by: Gerjan van Geest <gerjan.van.geest@ing.com>
Co-authored-by: Erik Kroes <erik.kroes@ing.com>
Co-authored-by: Lars den Bakker <lars.den.bakker@ing.com>
2019-04-26 10:37:57 +02:00

7 lines
231 B
JavaScript

import { localize } from './src/localize.js';
export const localizeTearDown = () => {
// makes sure that between tests the localization is reset to default state
document.documentElement.lang = 'en-GB';
localize.reset();
};