with one click
test
Run tests for Terrae components
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Run tests for Terrae components
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | test |
| description | Run tests for Terrae components |
| argument-hint | ["component-name"] |
| allowed-tools | Bash(npm run test*), Bash(npx vitest *) |
Run tests for Terrae components.
Run All Tests
npm run test:run
This runs vitest in single-run mode.
Run Tests in Watch Mode If the user wants to develop with live feedback:
npm run test
Note: This runs in watch mode and won't exit automatically.
Run Specific Tests To run tests for a specific component:
npx vitest run {component-name}
Example: npx vitest run marker
Report Results
Handle Failures If tests fail:
Test File Location Tests are typically located at:
src/registry/map/__tests__/{component}.test.tsx{component}.test.tsxRead a GitHub issue, summarize it, and create a branch for it
Commit, push, and open a pull request on GitHub
Verify all outputs exist after creating a new component and fix any issues
Create standardized git commits following Terrae's conventions
Generate or update documentation for Terrae components
Systematically fix issues found by /review or reported by the user