Fix tests

This commit is contained in:
Pieter Vander Vennet 2022-08-23 15:28:26 +02:00
parent 51650b4a10
commit 80963f242d

View file

@ -28,14 +28,12 @@ const themeConfigJson: LayoutConfigJson = {
} }
} }
], ],
maintainer: "",
startLat: 0, startLat: 0,
startLon: 0, startLon: 0,
startZoom: 0, startZoom: 0,
title: { title: {
en: "Title" en: "Title"
}, },
version: "",
id: "test" id: "test"
} }
@ -118,13 +116,10 @@ describe("PrepareTheme", () => {
} }
} }
], ],
maintainer: "Me",
startLat: 0, startLat: 0,
startLon: 0, startLon: 0,
startZoom: 0, startZoom: 0,
title: "Test theme", title: "Test theme",
version: ""
} }
const rewritten = new PrepareTheme(ctx, { const rewritten = new PrepareTheme(ctx, {
skipDefaultLayers: true skipDefaultLayers: true