home/categories/testing/metamask-metamask-mobile-agents-skills-component-view-test-skill-md
testingtesting-security

component-view-test

Write, fix, and update component view tests (*.view.test.tsx) for MetaMask Mobile using the tests/component-view/ framework. Use when creating a new view test file, fixing a failing view test, updating tests after a component change, or creating a new renderer or preset for a view.

MetaMask
maintainer
MetaMask
更新于 3/19/2026
星标
2884
分支
1574
quick start

Installation and usage

Write, fix, and update component view tests (*.view.test.tsx) for MetaMask Mobile using the tests/component-view/ framework. Use when creating a new view test file, fixing a failing view test, updating tests after a component change, or creating a new renderer or preset for a view.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use component-view-test