e-e-e/bookcovers

Add unit tests!!!

Opened this issue · 2 comments

e-e-e commented
Add unit tests!!!

I had the same thought :).

What testing library do you prefer? I have experience with mocha and jest.

e-e-e commented

I think either is fine, but prefer jest atm mostly for the simplicity it offers.

I was thinking unit tests, and also a daily smoke test. The Amazon service is fairly brittle as it parses html using puppeteer. it would be great to know when it breaks, so it can be fixed.