matsojda 2501 days ago. link 0 point ▲ ▼Well, that's why we have a variety of solutions here, in the Node.js world ;-)
matsojda 2504 days ago. link 4 points ▲ ▼When you inject your dependencies, you can easily mock them in the test. Or change if needed. All you want to care about is the interface.