Skip to content

Commit

Permalink
test(PostsSearchBar): remove redundant function mocks (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabertazimi authored Apr 25, 2022
1 parent b229f02 commit fa1d2ca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/PostsSearchBar/PostsSearchBar.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ describe('PostsSearchBar', () => {
test.each(mockPosts)(
'should render [%# Basic Notes] options when searching',
async ({ index, title }) => {
jest.spyOn(console, 'error').mockImplementation(jest.fn());
render(<PostsSearchBar posts={mockPosts} />);
const input = screen.getByRole('combobox');

Expand Down

1 comment on commit fa1d2ca

@vercel
Copy link

@vercel vercel bot commented on fa1d2ca Apr 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

blog.tazimi.dev
blog-git-main-sabertaz.vercel.app
blog-sabertaz.vercel.app

Please sign in to comment.