Formatting

This commit is contained in:
pietervdvn 2022-06-20 01:58:20 +02:00
parent ca91241c3b
commit 6e93ab0be6

View file

@ -10,8 +10,8 @@ describe("ValidatedTextFields", () => {
const ts = Translations.t.validation;
const missingTranslations = Array.from(ValidatedTextField.allTypes.keys())
.filter(key => ts[key] === undefined || ts[key].description === undefined)
if(missingTranslations !== []){
fail("undefined", "a `description` for "+missingTranslations.join(", ") , "These validated text fields don't have a type name defined in en.json. (Did you just add one? Run `npm run generate:translations`)")
if (missingTranslations !== []) {
fail("undefined", "a `description` for " + missingTranslations.join(", "), "These validated text fields don't have a type name defined in en.json. (Did you just add one? Run `npm run generate:translations`)")
}
})
})