sf-lwc-testing
CommunityRobust LWC Jest testing toolkit
Authorjiten-singh-shahi
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a dedicated framework for writing and debugging Lightning Web Components (LWC) tests using Jest. It covers component mounting, wire and Apex mocking, and user interaction verification to ensure reliable, deterministic test results.
Core Features & Use Cases
- Component rendering and lifecycle validation
- Wire adapter and Apex call mocking for isolated unit tests
- Interaction simulation, toast/navigation verification, and test scaffolding for LWC projects
Quick Start
Install @salesforce/sfdx-lwc-jest, configure your test environment, and place your first tests under tests to begin testing.
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: sf-lwc-testing Download link: https://github.com/jiten-singh-shahi/salesforce-claude-code/archive/main.zip#sf-lwc-testing 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.