Unit Testing Typescript in under 10 seconds

1 · Srijan R Shetty · Sept. 1, 2023, 4:30 a.m.
I test in production. The last thing any programmer wants to do is write tests. And I get it, I’ve been there. Writing tests can be boring. And I’m not going to give you a long lecture about why you should write tests, I’m just going to show what we’ve done at Fuze over the course of the next 2-3 posts. This particular post is about the fundamental unit of testing - Unit Testing. To lay the foundation, our goal is to have greater than 99% test coverage for statements, branches, function and li...