Universal Containers has started building a customer Lightning community that contains a few dozen Aura components. The development team lead has come to the Salesforce architect about questions regarding testing the Lightning components. What two knowledge points can the architect pass to the development team lead? (Choose two.)
A. The testing can be viewed in the lightning.force.com/c/jasminetests.app URL. The page loads and runs Jasmine test and writes pass/fail information to the screen.
B. There is a $T test helper object that can be used to create the instance of the Lightning component, and its promise enabled.
C. Install the Lightning test service AppExchange package to enable the Aura component testing.
D. The testing of the JavaScript part of the Aura component can be tested in the Jest framework and the Apex controllers can be tested using test classes.
Suggest answer: CD
Reference:
No comments:
Please share to make the community better.