diff --git a/src/components/App/SideBar/FilterSearch/__tests__/index.tsx b/src/components/App/SideBar/FilterSearch/__tests__/index.tsx index 051c2e162..cea9f97ec 100644 --- a/src/components/App/SideBar/FilterSearch/__tests__/index.tsx +++ b/src/components/App/SideBar/FilterSearch/__tests__/index.tsx @@ -44,8 +44,13 @@ describe('FilterSearch Component', () => { fetchData: mockFetchData, setAbortRequests: mockSetAbortRequests, }) - ;(useSchemaStore as jest.Mock).mockReturnValue([mockSchemaAll, jest.fn()]) - ;(useFeatureFlagStore as jest.Mock).mockReturnValue({ fastFiltersFeatureFlag: true }) + + // + ;(useSchemaStore as jest.Mock) + .mockReturnValue([mockSchemaAll, jest.fn()])(useFeatureFlagStore as jest.Mock) + .mockReturnValue({ fastFiltersFeatureFlag: true }) + + // ;(getSchemaAll as jest.Mock).mockResolvedValue({ schemas: mockSchemaAll }) })