MetaMask / MetaMask/metamask-mobile

[Bug]: Fix flaky app/util/blockaid/index.test.ts timeout test

Open
#13,477 1 comment 0 reactions 0 assignees View on GitHub
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**

![Image](https://github.com/user-attachments/assets/073df155-fcfd-4fbb-969c-b9e4df3b64d0)

**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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.