From 73fbda9b10ea7b70ed9c25a40130124871143385 Mon Sep 17 00:00:00 2001 From: Kai Vandivier Date: Mon, 26 Feb 2024 23:14:39 +0100 Subject: [PATCH] test: api/apps base URL case --- adapter/src/utils/getBaseUrl.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/adapter/src/utils/getBaseUrl.test.js b/adapter/src/utils/getBaseUrl.test.js index 6f4ec5e3..01c85b4a 100644 --- a/adapter/src/utils/getBaseUrl.test.js +++ b/adapter/src/utils/getBaseUrl.test.js @@ -9,6 +9,8 @@ const testPaths = { '/dhis-web-user-settings/': '/', '/hmis/staging/v41/api/apps/WHO-Data-Quality-App/app.html': '/hmis/staging/v41/', + // this is a strange base URL, but it should be considered as a core app + '/api/apps/dhis-web-maps/': '/api/apps/', } const windowLocationMock = jest