allenhwkim / ngentest

Angular6+ Unit Test Generator For Components, Directive, Services, and Pipes
https://ngentest.github.io
MIT License
144 stars 60 forks source link

ngentest.config.js is not reflecting changes #38

Closed vishnuvsingh closed 4 years ago

vishnuvsingh commented 4 years ago

I am using karma framework and on changing ngentest.config.js for providing mock implementations, the changes are not being reflected on the spec file generated.

In the screenshot below you can see that a mock implementation of HttpClient get() function is provided.

Screenshot 2020-04-06 at 12 34 40 PM

But the spec file does not reflect that

Screenshot 2020-04-06 at 12 37 06 PM

How can I fix this issue? I have saved the config file in the root directory of the project.