react-tester
CommunityDeterministic React SPA tests that you can trust.
Authorbpteam
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables reliable, deterministic unit and component testing for React SPA applications using Vitest, React Testing Library, and Apollo MockedProvider, reducing flaky tests and speeding feedback loops.
Core Features & Use Cases
- Shared renderApp() helper that wraps Router + providers.
- Deterministic, user-visible assertions with waitFor/findBy*.
- Apollo MockedProvider integration for exact query documents and variables, with happy and error path tests.
- Avoids snapshot tests and brittle DOM structure.
Quick Start
Run the test suite for your React SPA by executing npm test in the project root.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: react-tester Download link: https://github.com/bpteam/coder/archive/main.zip#react-tester Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.