forked from MapComplete/MapComplete
Merge upload GPX-tracks to OSM; split 'specialVisualisations' into multiple smaller classes
This commit is contained in:
commit
8d304f9a56
37 changed files with 1459 additions and 1057 deletions
|
@ -11,6 +11,11 @@ describe("SpecialVisualisations", () => {
|
|||
"type",
|
||||
"A special visualisation is not allowed to be named 'type', as this will conflict with the 'special'-blocks"
|
||||
)
|
||||
|
||||
if(special.args === undefined){
|
||||
throw "The field 'args' is undefined for special visualisation "+special.funcName
|
||||
}
|
||||
|
||||
for (const arg of special.args) {
|
||||
expect(arg.name).not.eq(
|
||||
"type",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue