[test] add test for i18n currentLocale

This commit is contained in:
LouisLam
2021-10-08 15:11:50 +08:00
parent 11abc1f1e0
commit 01812cc446
7 changed files with 2346 additions and 22 deletions

View File

@@ -4,12 +4,8 @@ module.exports = {
"globals": {
"__DEV__": true
},
"testRegex": "./test/*.spec.js",
"testRegex": "./test/e2e.spec.js",
"rootDir": ".",
"testTimeout": 30000,
"transform": {
"^.+\\.js$": "babel-jest",
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub"
}
};