woocommerce

JS Unit Test Writer — Testing & QA agent for Claude Code

Testing & QA community

Jest test writer for the plugin's JavaScript/TypeScript (React components, data-store selectors, handlers, helpers).

How to install JS Unit Test Writer

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.

What JS Unit Test Writer does


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

Alternatives in Testing & QA

  • Helper Author — Owns the shared Cypress helper library for component automation 41k ★
  • Rivetkit Driver Test Writer — Use this agent when the user needs to write, modify, or debug driver tests for RivetKit 6.1k ★
  • Rspec Agent — Writes comprehensive RSpec tests for Rails models, controllers, services, and components with FactoryBot and C 652 ★

Full documentation available on GitHub

View Source Repository