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