Skip to content

Commit

Permalink
mock iconURL proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
adonesky1 committed Jun 16, 2022
1 parent 24336a7 commit a1c6c93
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 @@ -154,6 +154,16 @@ async function setupMocking(server, testSpecificMock) {
};
});

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

testSpecificMock(server);
}

Expand Down

0 comments on commit a1c6c93

Please sign in to comment.