From ad1347810af70c5aff4ae0f48676ec595b5e8c72 Mon Sep 17 00:00:00 2001 From: Sakshi Gupta Date: Tue, 30 Sep 2025 16:44:14 +0530 Subject: [PATCH] fixed formatting issue --- src/Explorer/SplashScreen/SplashScreen.test.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Explorer/SplashScreen/SplashScreen.test.ts b/src/Explorer/SplashScreen/SplashScreen.test.ts index 0977b3b54..2a4241227 100644 --- a/src/Explorer/SplashScreen/SplashScreen.test.ts +++ b/src/Explorer/SplashScreen/SplashScreen.test.ts @@ -20,11 +20,7 @@ describe("SplashScreen", () => { // Mock the SplashScreen module to return our test functions const mockCreateDataSampleUtil = jest.fn(() => dataSampleUtil); - const mockCreateMainItems = jest.fn(() => [ - { onClick: jest.fn() }, - { onClick: jest.fn() }, - { onClick: jest.fn() } - ]); + const mockCreateMainItems = jest.fn(() => [{ onClick: jest.fn() }, { onClick: jest.fn() }, { onClick: jest.fn() }]); // Since SplashScreen is a functional component, we need to test the logic differently // We'll test the utility functions directly rather than instantiating the component