Fix tests

This commit is contained in:
Pieter Vander Vennet 2022-02-14 19:20:44 +01:00
parent 2ea363f6e0
commit 08e2fa747f
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ export default class ActorsSpec extends T {
[
"download latest version",
() => {
const state = new UserRelatedState(new LayoutConfig(bookcaseJson, true, "tests"))
const state = new UserRelatedState(new LayoutConfig(<any> bookcaseJson, true, "tests"))
const feature = {
"type": "Feature",
"id": "node/5568693115",

View file

@ -10,7 +10,7 @@ export default class ImageAttributionSpec extends T {
[
"Should find all the images",
() => {
const images = new Set(new ExtractImages().convertStrict(cyclofix, "test"))
const images = new Set(new ExtractImages().convertStrict(<any> cyclofix, "test"))
const expectedValues = [
'./assets/layers/bike_repair_station/repair_station.svg',
'./assets/layers/bike_repair_station/repair_station_pump.svg',