riot-web/test/setupTests.js

5 lines
166 B
JavaScript

import * as languageHandler from "../src/languageHandler";
languageHandler.setLanguage('en');
languageHandler.setMissingEntryGenerator(key => key.split("|", 2)[1]);