element-web/test/setupTests.js

7 lines
209 B
JavaScript
Raw Normal View History

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