skills/smithery.ai/testing-frontend

testing-frontend

Installation
SKILL.md

Frontend Testing Patterns

Overview

Testing patterns for frontend applications using Vitest and React Testing Library / Vue Test Utils.

Testing Philosophy

User-Centric Testing

Test behavior, not implementation. Query elements the way users would find them.

// BAD: Testing implementation
expect(wrapper.state('isOpen')).toBe(true);
expect(wrapper.find('.modal-class').exists()).toBe(true);
Installs
1
First Seen
Apr 10, 2026
testing-frontend from smithery.ai