fix(test): broken after adding content-only languages

pull/1319/head
Elian Doran 2025-03-05 22:18:24 +07:00
parent ca757b20d5
commit deb5d82c02
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

@ -7,6 +7,10 @@ function checkTranslations(translationDir: string, translationFileName: string)
const locales = i18n.getLocales();
for (const locale of locales) {
if (locale.contentOnly) {
continue;
}
const translationPath = path.join(translationDir, locale.id, translationFileName);
const translationFile = fs.readFileSync(translationPath, { encoding: "utf-8" });
expect(() => {