diff --git a/test/e2e/utils/index.js b/test/e2e/utils/index.js index 4f1e5b5d..23f3742f 100644 --- a/test/e2e/utils/index.js +++ b/test/e2e/utils/index.js @@ -30,7 +30,7 @@ const loadYaml = (filePath) => { }; function getZhJson() { - const jsonPath = root('src/locales/zh.json'); + const jsonPath = root('../src/locales/zh.json'); try { const rawData = fs.readFileSync(jsonPath); const translate = JSON.parse(rawData);