Best practice to test your Angular directive and component
Testing is never useless, especially in JavaScript world where the language is dynamically typed, there is no excuse for not testing. If you are not writing test for your code, sorry it is too late. If you are, do not…