March 2024
Intermediate to advanced
288 pages
7h 49m
English
This chapter covers
In the previous chapter, you wrote your first unit test using Jest, and we looked more at the maintainability of the test itself. The scenario was pretty simple, and more importantly, it was completely self-contained. The Password Verifier had no reliance on outside modules, and we could focus on its functionality without worrying about other things that might interfere with it.
In that chapter, we used the first two types of exit points for our examples: return value exit points and state-based exit points. In this chapter, ...
Read now
Unlock full access