lwc-testing

Community

Master LWC testing patterns with Jest.

Authorbhanu91221
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automate and standardize Jest-based testing for Salesforce Lightning Web Components to reduce boilerplate and catch regressions early.

Core Features & Use Cases

  • Setup and configuration patterns for sfdx-lwc-jest in Salesforce projects.
  • Tests for LWC components including wire adapters, LDS, and DOM querying.
  • Utilities and patterns for testing events, promises, and mocked Salesforce modules.
  • Real-world examples and test data patterns to accelerate test authoring.

Quick Start

Install the required testing framework and start by adding a basic test under force-app/main/default/lwc/YourComponent/tests for your first test.

Dependency Matrix

Required Modules

None required

Components

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: lwc-testing
Download link: https://github.com/bhanu91221/claude-sfdx-iq/archive/main.zip#lwc-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.