Be the first to like this
This developer session introduces Lightning Web Component testing. It starts with an overview of the testing environment built around the Jest framework. We learn how the environment operates in complete isolation from the Salesforce Platform and lets you run tests locally. We then cover the basics of writing tests with a "Given, When, Then" pattern. We leave you with common patterns and tips for writing efficient tests.