Lightlines
By manutej

jest-react-testing

manutej1.2k installs

React tests that check what your users do.

What it does

Guides agents in writing maintainable React component, hook, and integration tests with Jest and React Testing Library.

When to use it

Use when configuring Jest, testing React components and hooks, or debugging failing tests and improving coverage.

How to use it

It changes how the agent configures and writes React tests, emphasizing user behavior, accessible queries, and maintainability.

What you provide

  • An existing project

Latest review

What you need · 3

The guide targets React applications and declares compatibility with React 16.8+.

The testing patterns use Jest and declare compatibility with Jest 29+; the setup instructions install it into the project.

The testing patterns use React Testing Library and declare compatibility with version 13+; the setup instructions install it into the project.


Access · 0

No additional actions listed.