MetaMask / MetaMask/metamask-mobile
[Bug]: Fix flaky app/util/blockaid/index.test.ts timeout test
Open
external-contributor
INVALID-ISSUE-TEMPLATE
regression-prod-7.41.0
Sev2-normal
stale
team-product-safety
type-bug
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
**Describe the bug**

**Steps to reproduce**
yarn jest app/util/blockaid/index.test.ts
**Error messages or log output**
```shell
```
**Detection stage**
In production (default)
**Version**
7.41.0
**Build type**
None
**Device**
CI/CD
**Operating system**
iOS
Contributor guide
Research direction
Start by running `yarn jest app/util/blockaid/index.test.ts` and inspect the timeout test in `app/util/blockaid/index.test.ts`. Determine why the test flakes in CI, then verify that the test completes reliably by rerunning the same command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100