Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Runs React core tests across source, experimental, www, stable, and classic release channels using yarn commands.
27% 77%+50 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 6 of 22 without it.
What is the command to run unit tests for ReactPortal under the standard www-modern release target?
The response specifies `yarn test-www --silent --no-watchman ReactPortal`.
3 of 3 safety checks passed
Run tests for the React codebase.
Arguments:
Usage Examples:
/test ReactFiberHooks - Run with source channel (default)/test experimental ReactFiberHooks - Run with experimental channel/test www ReactFiberHooks - Run with www-modern channel/test www variant false ReactFiberHooks - Test VARIANT=false/test stable ReactFiberHooks - Run with stable channel/test classic ReactFiberHooks - Run with www-classic channel/test watch ReactFiberHooks - Run in watch mode (TDD)Release Channels:
(default) - Source/canary channel, uses ReactFeatureFlags.js defaultsexperimental - Source/experimental channel with EXPERIMENTAL flags = truewww - www-modern channel with VARIANT flags = truewww variant false - www channel with VARIANT flags = falsestable - What ships to npmclassic - Legacy www-classic (rarely needed)Instructions:
yarn test --silent --no-watchman <pattern>yarn test -r=experimental --silent --no-watchman <pattern>yarn test-stable --silent --no-watchman <pattern>yarn test-classic --silent --no-watchman <pattern>yarn test-www --silent --no-watchman <pattern>yarn test-www --variant=false --silent --no-watchman <pattern>Hard Rules:
Common Mistakes:
www AND www variant false for __VARIANT__ flags.Next to this one in the catalogue, plus more from the same author.