From 5463402d99bae8cee0c6779417c7c4a4b3811341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D0=B0=D1=81=D1=83=D0=BB?= Date: Wed, 16 Oct 2024 17:22:09 +0300 Subject: [PATCH] feat: fix lint errors --- .../App/SideBar/FilterSearch/__tests__/index.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 }) })