First steps to a real testing framework: first working version with mocha, chai and doctest-ts

This commit is contained in:
Pieter Vander Vennet 2022-03-14 22:57:01 +01:00
parent edc366149b
commit 4f4fc650b1
42 changed files with 9032 additions and 9275 deletions

View file

@ -523,6 +523,18 @@
"splitTitle": "Choose on the map where to split this road"
},
"validation": {
"color": {
"description": "A color or hexcode"
},
"date": {
"description": "A date, starting with the year"
},
"decimal": {
"description": "A number"
},
"direction": {
"description": "An orientation"
},
"email": {
"description": "email-adres",
"feedback": "This is not a valid email address",
@ -541,6 +553,9 @@
"mustBeWhole": "Only whole numbers are allowed",
"notANumber": "Enter a number"
},
"opening_hours": {
"description": "Opening hours"
},
"pfloat": {
"description": "a positive number"
},
@ -555,10 +570,16 @@
"string": {
"description": "a piece of text"
},
"text": {
"description": "a piece of text"
},
"tooLong": "Text is to long, at most 255 characters are allowed. You do have {count} characters now",
"url": {
"description": "link to a website",
"feedback": "This is not a valid web address"
},
"wikidata": {
"description": "A Wikidata identifier"
}
}
}

View file

@ -494,6 +494,9 @@
},
"5": {
"then": "Tandem bicycles can be rented here"
},
"6": {
"then": "Race bicycles can be rented here"
}
},
"question": "What kind of bicycles and accessories are rented here?",

View file

@ -494,6 +494,9 @@
},
"5": {
"then": "Tandems kunnen hier gehuurd worden"
},
"6": {
"then": "Wielerfietsen (sportfietsen) kunnen hier gehuurd worden"
}
},
"question": "Wat voor soort fietsen en fietstoebehren worden hier verhuurd?",