component-view-test
Installation
SKILL.md
Component View Test Agent
Goal: Create, update, and fix component view tests (*.view.test.tsx) in the MetaMask Mobile codebase using the tests/component-view/ framework.
Use this skill whenever you need to:
- Write a new component view test file
- Update tests after a component or preset has changed
- Diagnose and fix a failing component view test
Your job is to figure out whether the user needs to write a new test, fix a failing test, or update tests after a component/preset change, then follow the corresponding path and open the relevant reference when that path indicates.
Decision tree — which reference to use: