Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Commit

Permalink
minor test fix (toEqual -> toBe)
Browse files Browse the repository at this point in the history
  • Loading branch information
amacleay-cohere authored and fabien0102 committed Apr 22, 2021
1 parent 5d2ad1e commit b145405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/useMutate.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,8 @@ describe("useMutate", () => {
await result.current.mutate({});
const mutate2 = result.current.mutate;

expect(mutate0).toEqual(mutate1);
expect(mutate0).toEqual(mutate2);
expect(mutate0).toBe(mutate1);
expect(mutate0).toBe(mutate2);
});
});

Expand Down

0 comments on commit b145405

Please # to comment.