element-web-Github/test/setupTests.js

7 lines
209 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]);
require('jest-fetch-mock').enableMocks();