Fix tests

This commit is contained in:
Pieter Vander Vennet 2022-10-04 14:23:19 +02:00
parent 218cf3b151
commit 9193b0db2f
2 changed files with 6 additions and 1 deletions

View file

@ -79,7 +79,7 @@ export default class LayoutConfig {
}
const context = this.id
this.credits = json.credits
this.language = json.mustHaveLanguage ?? ( official ? ["en"] : [])
this.language = json.mustHaveLanguage ?? Object.keys(json.title)
this.usedImages = Array.from(
new ExtractImages(official, undefined).convertStrict(
json,