Open mmcguff opened 10 months ago
I wrote some more unit tests. The idea of mocking API calls and responses seems valuable but fairly tricky. This is an area I should explore a little bit more when possible.
Here is video I might watch regarding nock and unit testing.
I attempted to use Jest to create good unit testing for this app. However, my test ended up leading me down a nonworking path.
I have fixed my test. But will need to be more careful about this moving forward.
I have built the application but didn't write unit tests as I was going.
I feel very strongly that I should practice building some level of unit test while its easy else it will get much more difficult to in habit of doing this as I go along.
Ensuring that everything has a test to validate its working is an excellent way to write higher quality code.