Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adonesky1 committed Jun 10, 2022
1 parent 156e82a commit 3b5e02a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/scripts/controllers/detect-tokens.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,15 +241,16 @@ describe('DetectTokensController', function () {
),
);

await tokensController.ignoreTokens(tokenAddressToSkip);
await tokensController.ignoreTokens([tokenAddressToSkip]);
await controller.detectNewTokens();

assert.deepEqual(tokensController.state.tokens, [
{
address: toChecksumHexAddress(existingTokenAddress),
decimals: existingToken.decimals,
symbol: existingToken.symbol,
image: undefined,
aggregators: [],
image: `https://static.metaswap.codefi.network/api/v1/tokenIcons/1/0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f.png`,
isERC721: false,
},
]);
Expand Down

0 comments on commit 3b5e02a

Please sign in to comment.