Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gre committed Feb 5, 2024
1 parent 50be0da commit 18a94ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/live-nft-react/src/hooks/useNftGalleryFilter.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ for (let i = 0; i < expected.length; i += pagedBy) {

let callCount = 0;

jest.mock("@ledgerhq/live-nft/api/index", () => ({
jest.mock("@ledgerhq/live-nft/api/simplehash", () => ({
fetchNftsFromSimpleHash: jest.fn().mockImplementation(opts => {
const { cursor } = opts;
const index = cursor ? Number(cursor) : 0;
Expand Down

0 comments on commit 18a94ce

Please sign in to comment.