Skip to content

Commit

Permalink
feat: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rassl committed Dec 17, 2024
1 parent 6d37731 commit e779a04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/App/SideBar/FilterSearch/__tests__/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ describe('FilterSearch Component', () => {
;(useDataStore as jest.Mock).mockReturnValue({
setFilters: mockSetFilters,
fetchData: mockFetchData,
resetData: jest.fn(),
setAbortRequests: mockSetAbortRequests,
})

Expand Down Expand Up @@ -91,7 +92,7 @@ describe('FilterSearch Component', () => {
expect(type1Pill).toHaveStyle(`color: ${colors.black}`)
})

it.skip('should apply filters when "Apply" is clicked', async () => {
it('should apply filters when "Apply" is clicked', async () => {
renderComponent()

const type1Pill = screen.getByText('Type1')
Expand Down

0 comments on commit e779a04

Please sign in to comment.