Skip to content

Commit

Permalink
cherry-pick test: fix flaky test `Import ERC1155 NFT should be... (#2…
Browse files Browse the repository at this point in the history
…4709) into v11.16.1 (#24847)

cherry-pick test: fix flaky test `Import ERC1155 NFT should be able to
import an … 3ddb0d4 (#24709) into
v11.16.1

No merge conflicts

Co-authored-by: seaona <[email protected]>
  • Loading branch information
dbrans and seaona authored May 28, 2024
1 parent 603cdcd commit 3f270a0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/e2e/mock-e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,17 @@ async function setupMocking(server, testSpecificMock, { chainId }) {
await mockLensNameProvider(server);
await mockTokenNameProvider(server, chainId);

// IPFS endpoint for NFT metadata
await server
.forGet(
'https://bafybeidxfmwycgzcp4v2togflpqh2gnibuexjy4m4qqwxp7nh3jx5zlh4y.ipfs.dweb.link/1.json',
)
.thenCallback(() => {
return {
statusCode: 200,
};
});

/**
* Returns an array of alphanumerically sorted hostnames that were requested
* during the current test suite.
Expand Down

0 comments on commit 3f270a0

Please sign in to comment.