Set up automated tests to ensure build output passes a sanity check
dannymandel opened this issue · comments
Danny Mandel commented
We recently had a bug where our built JS was in a bad state. It would be good if we had an automated check that prevented this. Jest appears to be a framework that would let us make assertions on the JS output:
https://jestjs.io/docs/tutorial-react
It's unclear if it would work for our purposes, but it's worth an investigation.
Danny Mandel commented
On further investigation, I'm not certain it would have caught this bug, but I do think we should have some tests in place on our JavaScript app.