Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TokenListController tests are brittle #917

Open
BelfordZ opened this issue Sep 22, 2022 · 0 comments
Open

TokenListController tests are brittle #917

BelfordZ opened this issue Sep 22, 2022 · 0 comments

Comments

@BelfordZ
Copy link
Contributor

there is a lot of setTimeouts used with magic numbers to wait for things that should be handled using promises.

For example, this test fails particularly often:
https://github.com/MetaMask/controllers/blob/main/src/assets/TokenListController.test.ts#L602

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants