React Test Conventions

How tests are organised, named, and written in packages/react — concern-based file splits, shared fixtures, userEvent v14 conventions and the literal-space gotcha, scoped vitest invocation, coverage exclusions. TRIGGER when writing or running tests in packages/react, when naming a new test file, when using userEvent, when wiring Arrange/Act/Assert blocks, or when filtering vitest to a single component. SKIP for non-React-test work. Use when this capability is needed.

tomevault-io fa2ad2d 2 files · 4.5 KB Updated

File contents

tomevault-io/skills-registry/tree/main/simonrevill--primitiv--react-test-conventions commit fa2ad2d1ea

Frequently asked questions

npx skillmds@latest add tomevault-io/react-test-conventions