Dependency Injection in JavaScript is the Best Tool You’re Not Using for your Tests. Let me introduce you to your new testing best friend Fernando Doglio. Dependencies in your code can be anything, from a 3rd party library to the database where you save your data.

6m read timeFrom blog.bitsrc.io
Post cover image
Table of contents
Dependency Injection in JavaScript — the Best Tool You’re Not Using for your TestsWhat’s the problem exactly?The patternWhy do this though?How to perform dependency injection in JavaScript?Build with independent components, for speed and scaleLearn More
1 Comment

Sort: