MetaMask / MetaMask/metamask-extension
test: Anvil migration - Replace Ganache for Anvil in metamask-controller.test.js and metamask-controller.actions.test.js unit tests
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
### What is this about?
Replace Ganache for Anvil in metamask-controller.test.js and metamask-controller.actions.test.js unit tests
### Scenario
_No response_
### Design
_No response_
### Technical Details
_No response_
### Threat Modeling Framework
_No response_
### Acceptance Criteria
_No response_
### Stakeholder review needed before the work gets merged
- [ ] Engineering (needed in most cases)
- [ ] Design
- [ ] Product
- [ ] QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
- [ ] Security
- [ ] Legal
- [ ] Marketing
- [ ] Management (please specify)
- [ ] Other (please specify)
### References
_No response_
Contributor guide
Research direction
Start with metamask-controller.test.js and metamask-controller.actions.test.js, then inspect how their Ganache setup is used and look for existing Anvil test patterns in the repository. Run both unit-test files before and after the change; done means they use Anvil in place of Ganache and pass successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing-qa
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100