[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

7
babel.config.js Normal file
View File

@@ -0,0 +1,7 @@
const config = {};
if (process.env.TEST_FRONTEND) {
config.presets = ["@babel/preset-env"];
}
module.exports = config;