The other day I was rubber-ducking in my mind(A.K.A. thinking) and I was thinking about Javascript Fatigue once again. I realized that I haven’t really seen anyone talk about the flip side of Javascript Fatigue, and I think it is important. So let’s talk about it.
Once upon a time I was at a conference called the Lead Dev. During one of the talks…
How we solved
In short, we use mocks in a number of our unit tests. I personally believe jest spys are superior, however, in certain use cases we use mocks.
If you haven’t read it already, an article for Part 1 of this series has been written. Feel free to take a look before reading this one.