Summary

This chapter showed you how to unit test the components using Jasmine. Writing unit tests allows us to find app-breaking changes whenever code is refactored or redesigned. One could also run these tests in their CI workflows.

The next chapter will help us understand how one can publish these components on Salesforce AppExchange, and how to work with these components when Salesforce Org has namespaces enabled. 

Get Learning Salesforce Lightning Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.