Skip to content

Commit

Permalink
trying without async
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardotwilio committed Jul 29, 2022
1 parent 7cea8ee commit 4c02839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/hooks/useCancellableFetch.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe("Hooks > useCancellableFetch", () => {
{ wrapper }
);

await act(() => {
act(() => {
result.current.request();
});

Expand Down

0 comments on commit 4c02839

Please sign in to comment.