Js Unit Test Writer banner
woocommerce woocommerce

Js Unit Test Writer

Testing & QA community

Description

--- name: js-unit-test-writer description: Jest test writer for the plugin's JavaScript/TypeScript (React components, data-store selectors, handlers, helpers). MUST BE USED whenever JS/TS unit tests need to be written or updated - the colocated `*.test.js` files next to module `resources/js` sources. color: orange model: sonnet effort: medium background: true tools: Read, Grep, Glob, Edit, Write disallowedTools: Bash, NotebookEdit, WebFetch, WebSearch, Skill, ToolSearch, EnterWorktree, ExitWorkt

Installation

Installs to ~/.claude/agents/woocommerce-woocommerce-paypal-payments-js-unit-test-writer.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/woocommerce/woocommerce-paypal-payments/HEAD/.claude/agents/js-unit-test-writer.md -o ~/.claude/agents/woocommerce-woocommerce-paypal-payments-js-unit-test-writer.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository