diff --git a/server/tests/config.test.ts b/server/tests/config.test.ts index 207f45d..587b851 100644 --- a/server/tests/config.test.ts +++ b/server/tests/config.test.ts @@ -16,6 +16,7 @@ describe("Config setup", () => { expect(config.ProjectId).toBe("mock-project"); expect(config.ServerPark).toBe("mock-server-park"); expect(config.BlaiseApiUrl).toBe("http://mock"); + expect(config.RoleToServerParksMap).not.toBeNull(); }); it("should return variables with default string if variables are not defined", () => { @@ -30,5 +31,6 @@ describe("Config setup", () => { expect(config.ProjectId).toBe("ENV_VAR_NOT_SET"); expect(config.ServerPark).toBe("ENV_VAR_NOT_SET"); expect(config.BlaiseApiUrl).toBe("http://ENV_VAR_NOT_SET"); + expect(config.RoleToServerParksMap).not.toBeNull(); }); }); diff --git a/src/pages/users/__snapshots__/Users.test.tsx.snap b/src/pages/users/__snapshots__/Users.test.tsx.snap index c569f04..9502629 100644 --- a/src/pages/users/__snapshots__/Users.test.tsx.snap +++ b/src/pages/users/__snapshots__/Users.test.tsx.snap @@ -98,7 +98,7 @@ Object { scope="col" > - Default server park + Server Parks