skills/smithery.ai/test-front-component

test-front-component

Installation
SKILL.md

Frontend Component Testing Skill

This skill provides instructions and best practices for testing React components in the Verseau frontend using Vitest and React Testing Library.

Tech Stack

  • Testing Framework: Vitest
  • Component Testing: @testing-library/react
  • User Interactions: @testing-library/user-event (preferred) or fireEvent
  • Matchers: @testing-library/jest-dom/vitest
  • Environment: jsdom

Core Principles

1. Test Structure (AAA Pattern)

Structure tests using Arrange-Act-Assert:

Installs
1
First Seen
Apr 5, 2026
test-front-component from smithery.ai