JavaScript testing with mocha and chai

Photo by Kitera Dent on Unsplash

Over my career, I have heard this many times. We don’t have time to write unit tests. We have an application to get out, the window is closing we will miss out on the opportunity. We don’t have time to write tests ! Actually, the developer does desktop testing on their own. That effort is wasted since those desktop tests never make it into the “build”. What happens when the application is almost ready to release, it’s…