test

Run React core tests across source, experimental, www, and stable channels.

247k|51.2k|Updated May 24, 2013
One-click install
npx skills add https://github.com/facebook/react --skill test-facebook
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/facebook/react/tree/main/.claude/skills/test
Command: npx skills add https://github.com/facebook/react --skill test-facebook

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a streamlined approach to running React core tests across multiple release channels (source, experimental, www, stable) with a consistent test pattern and clear results.

Core Features & Use Cases

  • Cross-channel test execution: run tests across default source, experimental, www, and stable channels with a single command.
  • Pattern-based testing: specify test names or patterns to target specific suites like ReactFiberHooks.
  • Automated command mapping: translates the channel choice into the correct yarn test command and ensures silent, no-watchman execution.
  • Clear reporting: aggregates results and highlights failures for quick triage.

Quick Start

Use the test skill to run a pattern like ReactFiberHooks across the default source channel, for example by invoking the skill with the test pattern ReactFiberHooks.

Frequently Asked Questions about test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run React core tests across multiple release channels?

React core tests across multiple release channels can be run by providing a test pattern. This maps channel selections like source, experimental, www, and stable to the correct Yarn commands, executing tests silently without watchman.

What is the best way to test a specific pattern like ReactFiberHooks in React?

Testing a specific pattern like ReactFiberHooks in React involves passing the pattern name as an argument. This targets the specific test suite across your chosen release channel, aggregating results and highlighting any failures for quick triage.

Can I use Yarn to execute React tests on the experimental channel?

You can use Yarn to execute React tests on the experimental channel. The process translates the experimental channel selection into the appropriate Yarn test variant, ensuring the correct build is validated silently without watchman.

Does running React tests with a pattern argument require watchman?

Running React tests with a pattern argument does not require watchman. The automated command mapping explicitly includes the no-watchman flag, ensuring the test execution proceeds without relying on the watchman file watcher.

How are test failures reported when validating changes in the React repository?

When validating changes in the React repository, test failures are reported by aggregating results and highlighting failures. This provides clear reporting for quick triage after running tests across default source, experimental, www, or stable channels.