Zum Inhalt springen
Kitbay
Skill

test

MITAktualisiert am 11. Nov. 2026252.562GitHub-Sterne

A contributor skill in the React source repository for running React's own tests.

Was der Skill vermittelt

A contributor skill in the React source repository for running React's own tests. The agent takes an optional release channel and a test file or name pattern and turns them into the matching yarn command for the source, experimental, stable, classic or www builds, including the www build with variant flags switched off. It always runs tests quietly and without watchman, which often fails in sandboxes, and then reports the results. It warns that running without a pattern runs the whole slow suite, that variant flags need testing in both www states, and that skipped tests usually come from gate pragmas. It only works inside a checkout of React.

Funktionen

  • Run React tests for a chosen release channel
  • Filter tests by file or name pattern
  • Test variant flags in both www states