Skip to content
R

react-testing

React component testing with React Testing Library, Vitest/Jest

by affaan-mFree

Launch
#388in AI Skills
0In stores

Description

react-testing is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out testing patterns for React components,…

Highlights

  • React Testing Library behaviour tests
  • MSW network mocking
  • axe accessibility assertions
  • Choosing between RTL, component and end-to-end tests

Ratings & Reviews

No ratings yet

Be the first to rate react-testing.

People also visit

F

frontend-a11y

Accessibility patterns for React and Next.js

AI Skills
Launch
F

feature-flags

Feature flag tests fail, flags need updating, understanding @gate pragmas

AI Skills
Launch
T

test

Run tests for React core

AI Skills
Launch
F

frontend-testing

Writing or changing Vitest or React Testing Library tests under `web/` or

AI Skills
Launch
W

webapp-testing

Test local web applications using Playwright for UI verification and debugging

AI Skills
Launch
M

migrate-to-shoehorn

Migrate test files from `as` type assertions to @total-typescript/shoehorn

AI Skills
Launch

react-testing FAQ

What does the react-testing skill do?

It guides an agent in writing behaviour-focused React tests, using React Testing Library with Vitest or Jest, MSW and axe.

What is the core principle?

Test what the user sees and does, not implementation details.

Does it help migrate from Enzyme?

Yes. Migrating from Enzyme or class-component patterns is one of its listed uses.

How do I install it?

Run: npx skills add https://github.com/affaan-m/ecc --skill react-testing

Is it free?

Yes. It is free and open source.

Are there security findings?

The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.

What are the best react-testing alternatives?

Popular alternatives to react-testing include frontend-a11y, feature-flags and test. See all react-testing alternatives

Developer Stuff

Badges