hi nazlr In lightning document they have not mentioned any unit test for controller and helper. In salesforce, test class is only available for apex controller to do the unit testing Thanks Mark it best answer if it helps you so it make proper solution for other
go to below link for reference
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/apps_packaging_tests.htm
and its also good practice that write test class for every apex class
Thanks
All Answers
In lightning document they have not mentioned any unit test for controller and helper. In salesforce, test class is only available for apex controller to do the unit testing
Thanks
Mark it best answer if it helps you so it make proper solution for other
go to below link for reference
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/apps_packaging_tests.htm
and its also good practice that write test class for every apex class
Thanks