Skip to content

Commit

Permalink
feat: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Rassl committed Oct 16, 2024
1 parent d8d2dea commit 5463402
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/App/SideBar/FilterSearch/__tests__/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
})

Expand Down

0 comments on commit 5463402

Please sign in to comment.