mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-10-13 23:38:45 +01:00
fixed formatting issue
This commit is contained in:
parent
30da2aae59
commit
ad1347810a
@ -20,11 +20,7 @@ describe("SplashScreen", () => {
|
|||||||
|
|
||||||
// Mock the SplashScreen module to return our test functions
|
// Mock the SplashScreen module to return our test functions
|
||||||
const mockCreateDataSampleUtil = jest.fn(() => dataSampleUtil);
|
const mockCreateDataSampleUtil = jest.fn(() => dataSampleUtil);
|
||||||
const mockCreateMainItems = jest.fn(() => [
|
const mockCreateMainItems = jest.fn(() => [{ onClick: jest.fn() }, { onClick: jest.fn() }, { onClick: jest.fn() }]);
|
||||||
{ onClick: jest.fn() },
|
|
||||||
{ onClick: jest.fn() },
|
|
||||||
{ onClick: jest.fn() }
|
|
||||||
]);
|
|
||||||
|
|
||||||
// Since SplashScreen is a functional component, we need to test the logic differently
|
// 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
|
// We'll test the utility functions directly rather than instantiating the component
|
||||||
|
Loading…
x
Reference in New Issue
Block a user