diff --git a/test/Logic/Actors/Actors.spec.ts b/test/Logic/Actors/Actors.spec.ts index 26e6fb7ab7..fd3bdf1e84 100644 --- a/test/Logic/Actors/Actors.spec.ts +++ b/test/Logic/Actors/Actors.spec.ts @@ -7,6 +7,7 @@ import { Feature, Geometry } from "geojson" import { expect, it } from "vitest" import ThemeViewState from "../../../src/Models/ThemeViewState" import ScriptUtils from "../../../scripts/ScriptUtils" +import { ImmutableStore } from "../../../src/Logic/UIEventSource" const latestTags = { amenity: "public_bookcase", @@ -46,7 +47,8 @@ Utils.injectJsonDownloadForTests("https://www.openstreetmap.org/api/0.6/node/556 Utils.injectJsonDownloadForTests("./assets/data/editor-layer-index.json", '{"features": [] }') it("should download the latest version", async () => { - const state = new ThemeViewState(new ThemeConfig(bookcaseJson, true), new Set()) + const state = new ThemeViewState(new ThemeConfig(bookcaseJson, true), + new ImmutableStore>(new Set())) const feature: Feature = { type: "Feature", id: "node/5568693115",