I was coding test cases for an angular application using jasmine. But many internal methods are declared as private in the services.
Example:
App.service
Is there a specific reason you wish to test your private methods?
By testing doOfferCal(), you're implicitly testing that myPrivate() is doing the right thing.
doOfferCal()
myPrivate()
Though this is for RailsConf, Sandi Metz has a very good talk on what should be tested.