/The-Complete-Guide-To-LWC-Jest-Testing-In-Salesforce

A guide for how to setup jest and start using it to test your LWC's

Primary LanguageJavaScriptMIT LicenseMIT

The Complete Guide to LWC Jest Testing in Salesforce

What Is This Repo?

This repo (in progress) contains all a developer needs to know about both how to setup your Salesforce project(s) to start creating Jest tests for your LWC's and how to actually create and run Jest test for your LWC's.


The LWC Jest Testing Wiki

Housed within this repo is a wiki that goes into detail about every area of Jest testing you need to be knowledgeable on to write tests successfully.


The Code In This Repo

The code in this repo is housed are examples that will hopefully allow you to get a good idea of how to write Jest tests for your own components. The code is just for example purposes only and should not be used in any production environments.


How To Submit Feedback For This Repo

If you believe there is any information missing from this guide or that it needs more info in certain places, please submit an issue on this repo here and I'll add it ASAP!