element-web-Github/test/setupTests.js

5 lines
166 B
JavaScript
Raw Normal View History

2019-12-17 19:47:01 +08:00
import * as languageHandler from "../src/languageHandler";
languageHandler.setLanguage('en');
languageHandler.setMissingEntryGenerator(key => key.split("|", 2)[1]);