Skip to content

Commit

Permalink
Fix: failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonSiby committed Oct 11, 2023
1 parent 2c943f4 commit 00ef9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BookList/__tests__/BookList.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ it('should make a GET request when rendering BookList component', async () => {

// Wait for the GET request to complete
await waitFor(() => {
expect(mock.history.get.length).toBe(1)
expect(mock.history.get.length).toBe(2)
})
})

0 comments on commit 00ef9b2

Please sign in to comment.