fixed formatting issue

This commit is contained in:
Sakshi Gupta 2025-09-30 16:44:14 +05:30
parent 30da2aae59
commit ad1347810a

View File

@ -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