Skip to content

Commit

Permalink
another mock
Browse files Browse the repository at this point in the history
  • Loading branch information
adonesky1 committed Jun 16, 2022
1 parent b8d4ca8 commit 0e7ad24
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/e2e/mock-e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,16 @@ async function setupMocking(server, testSpecificMock) {
};
});

await server
.forGet(
'https://static.metaswap.codefi.network/api/v1/tokenIcons/1337/0x2efa2cb29c2341d8e5ba7d3262c9e9d6f1bf3711.png',
)
.thenCallback(() => {
return {
statusCode: 200,
};
});

testSpecificMock(server);
}

Expand Down

0 comments on commit 0e7ad24

Please sign in to comment.