Skip to Content
Learning Salesforce Lightning Application Development
book

Learning Salesforce Lightning Application Development

by Mohit Shrivatsava
July 2018
Beginner to intermediate
458 pages
9h 58m
English
Packt Publishing
Content preview from Learning Salesforce Lightning Application Development

Installing LTS

To install the LTS in your scratch Org, run the following command:

sfdx force:Lightning:test:install

Once the package is installed, note that there are sample Lightning Components and tests provided in the package to help us understand how to write tests.

Now, to run the Lightning tests via the CLI, use the following command:

sfdx force:Lightning:test:run

You will see the output of the CLI, as shown in the following screenshot:

You can also manually run this by opening up the Lightning app from the Developer Console. Run this manually by creating a Lightning app named jasmineTests.app. The Lightning app code for jasmineTests.app ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Application Development with Force.com

Mastering Application Development with Force.com

Kevin J. Poorman
Learning Salesforce Einstein

Learning Salesforce Einstein

Mohit Shrivatsava, Raghuver Parupalli

Publisher Resources

ISBN: 9781787124677Supplemental Content