Skip to content

Commit c6bc5f1

Browse files
Fix role-view test
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
1 parent 643cc65 commit c6bc5f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

public/apps/configuration/panels/role-view/test/role-view.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ describe('RoleView base on Multitenancy', () => {
329329
};
330330

331331
beforeEach(() => {
332+
jest.restoreAllMocks();
332333
(transformRoleIndexPermissions as jest.Mock).mockResolvedValue(mockRoleIndexPermission);
333334
(transformRoleTenantPermissions as jest.Mock).mockResolvedValue(mockRoleTenantPermission);
334335
});

0 commit comments

Comments
 (0)