bookcovers icon indicating copy to clipboard operation
bookcovers copied to clipboard

Add unit tests!!!

Open e-e-e opened this issue 5 years ago • 2 comments

e-e-e avatar Dec 18 '20 19:12 e-e-e

I had the same thought :).

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

raineorshine avatar Dec 18 '20 21:12 raineorshine

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.

e-e-e avatar Dec 19 '20 08:12 e-e-e