We all know we should write unit tests. But, it’s hard to know where to start and how much time to devote to tests compared to actual implementation. So, where to start? And is it just about testing code or do unit tests have other benefits?
https://www.freecodecamp.org/news/how-to-start-unit-testing-javascript/
origin - https://www.pipiscrew.com/2020/03/how-to-start-unit-testing-your-javascript-code/ how-to-start-unit-testing-your-javascript-code