This is the third post in the series about Angular unit testing. If you are unfamiliar with using Angular CLI or making changes to Karma configurat...
For further actions, you may consider blocking this person and/or reporting abuse
Hi,
Thanks for sharing the testing series. It works on below Angular 7 particularly for "Create Custom Parameter". I went through your process in my Angular 7 app but it didn't work. Would you suggest how to use "custom command line parameter" testing in Angular 7?
Thanks.
Thanks Shuvojit!
You are correct, the custom parameter doesn't work for Angular v7. I started working on this while still on Angular v6 and waited too long before posting. I decided to post the custom parameter section anyway since some people may not be able to update their Angular version.
If you are able to figure out a way to submit custom parameters in Angular v7 or v8, please share. I'd love to hear about it.
Great articles, really loved the series :). I need your suggestion with my Angular unit test problem. I have a 'abc.service' which initializes a 'Secondary App' for a remote signup for account creation. When I run the tests it throws error 'Secondary App already exists'. But when I comment that initialization method, everything works fine. How can I solve this problem? I tried the following:
Please help me out, thanks a lot!
Hi there! I just saw your comment so hopefully this response isn't too late. Are you testing your 'abc.service' and it has a reference to another service? or something else?
Thanks for writing this tutorial. Just got started looking into unit testing and this offered a really concise overview.
Thank you for your kind words!
Thanks @alisa , this series is really helpful. You have covered almost all the important points required to start the testing. Appreciate your time and efforts
Thank you for your kind words!
Really helpful series of articles. Will be adding 'html' to the coverage, and using the @shortcut/imports - some great testing tips here 👍
Thanks! I'm glad to hear it!