
Pure functions are the perfect case for unit testing. For a given input, we always expect the same output—there is no internal state involved. Let’s take a look at a few examples and some simple tests that check if the methods work as expected. Jasmi...
JavaScript developer
I'm JS developer with 13 years of professional experience. I'm always happy to teach my craft.
Markdown supported · ⌘↵ to post
No responses yet.