From cb3aa8f3f9f454ea71a4fba384f8df265d300e4c Mon Sep 17 00:00:00 2001 From: Camille Moinier Date: Fri, 19 Jan 2024 10:40:14 +0100 Subject: [PATCH] fix(dh): fix failing unit test --- .../app/record/header-record/header-record.component.spec.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/datahub/src/app/record/header-record/header-record.component.spec.ts b/apps/datahub/src/app/record/header-record/header-record.component.spec.ts index c04cb850fa..69c0334ddb 100644 --- a/apps/datahub/src/app/record/header-record/header-record.component.spec.ts +++ b/apps/datahub/src/app/record/header-record/header-record.component.spec.ts @@ -13,6 +13,11 @@ jest.mock('@geonetwork-ui/util/app-config', () => ({ HEADER_BACKGROUND: 'red', HEADER_FOREGROUND_COLOR: 'white', }), + getGlobalConfig() { + return { + LANGUAGES: ['en', 'es'], + } + }, })) const searchServiceMock = {