From e6321b8def4e492bcc1ef72bafa01a12f6283463 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Sat, 11 May 2024 13:49:26 -0400 Subject: [PATCH] Fixes remainder unit tests Signed-off-by: Darshit Chanpura --- public/apps/configuration/panels/test/user-list.test.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/apps/configuration/panels/test/user-list.test.tsx b/public/apps/configuration/panels/test/user-list.test.tsx index 2e96573f5..ac4935671 100644 --- a/public/apps/configuration/panels/test/user-list.test.tsx +++ b/public/apps/configuration/panels/test/user-list.test.tsx @@ -91,6 +91,7 @@ describe('User list', () => { const mockCoreStart = { http: 1, }; + const mockDepsStart = {}; const setState = jest.fn(); jest.spyOn(React, 'useState').mockImplementation((initValue) => [initValue, setState]); @@ -98,6 +99,7 @@ describe('User list', () => { const component = shallow( { shallow( { shallow( { shallow( { shallow( { }, }, }; + const mockDepsStart = {}; let component; const mockUserListingData: InternalUsersListing = { username: 'user_1', @@ -206,6 +213,7 @@ describe('User list', () => { component = shallow(