Skip to content

Commit 7ba7f06

Browse files
mihaelabalutoiuDany9966
authored andcommitted
Fix tests
Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
1 parent a80fb3d commit 7ba7f06

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/components/modules/ProjectModule/ProjectDetailsContent/ProjectDetailsContent.spec.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ import TestUtils from "@tests/TestUtils";
2323

2424
jest.mock("react-router", () => ({ Link: "a" }));
2525

26+
jest.mock("@src/utils/Config", () => ({
27+
config: {
28+
hiddenUserRoles: [
29+
"audit",
30+
"creator",
31+
"observer",
32+
"service",
33+
"key-manager:service-admin",
34+
],
35+
},
36+
}));
37+
2638
const PROJECT: Project = {
2739
id: "project-id",
2840
name: "project-name",

0 commit comments

Comments
 (0)