Closed Asiq closed 7 years ago
Hi,
Firstly, I don't understand your question at all. Secondly, I don't write or maintain the code coverage tool.
Please direct your question to:
IMO this is best directed at Stack Overflow (from what I can understand of the question).
Hi, I am facing the issues in cover coverage for service calls . the problem is by calling the service functions from controllers functions.( any thing) for example:
public register() { // this.submitAttempt = true; this._message = ""; this.sharedService.SetSettings(this.configSettings.value).then(() => {
Here register is the functions which we called from view(html) a button click and then we called the service of SetSettings().
In Code Coverage it is not passing from then (() => line to cover..
Could you please guide me on this to make it work.