forked from MapComplete/MapComplete
Formatting
This commit is contained in:
parent
ca91241c3b
commit
6e93ab0be6
1 changed files with 9 additions and 9 deletions
|
@ -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`)")
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue