Proxyquire + Sinon
Unit tests are vital in software development. Especially when building a big application, we want to make sure that all its units work as expected.
By definition, unit tests help us ensure a single unit of code does what it has to do. Therefore, to c...
blog.ricardomendoza.dev5 min read