01. Boundaries/Elaboration

Understanding test boundaries helps you think about mocking as a tool. A tool that helps you balance what matters in the test vs what doesn't. That's really what mocking of any kind is about.
Ultimately, it is your decision where to draw that line. Just know that it will affect what kind of test you get in return.
In the next couple of hours, you will learn about different mocking techniques in JavaScript to help you draw that line more efficiently and with bigger confidence. Let's go!
Here are a few materials that can help you develop the right mental model of mocking:
Loading Boundaries Elaboration form