Pular para o conteúdo
Kitbay
Skill

test

MITAtualizado em 11 de nov. de 2026252.562Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

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