July 2018
Beginner to intermediate
458 pages
9h 58m
English
Let's create a test for the YoutubeSearchApp using the SFDX command line, as shown in the following code:
sfdx force:Lightning:test:create -n YoutubeSearchAppTest -d./force-app/main/default/staticresources
Upon running this command, you will notice that a JavaScript file with a describe function template is added in the staticresources folder.
We will write the test suite here and then reference them back in the jasmineTests.app test application.
Read now
Unlock full access