Add testing via jest
dkundel opened this issue · 5 comments
dkundel commented
We should add some basic testing using jest. This might require some refactoring to make the code a bit more testable.
dangilkerson commented
I'd like to work on this
dkundel commented
That would be great :) let me know if you need anything from me!
dangilkerson commented
Is there a reason node_modules are checked in?
dkundel commented
Yes those are the production dependencies only. It's a GitHub actions thing. i described it in #6
dangilkerson commented
I exported a function in main to test since I wanted to minimize the changes in case there were other changes on going. Probably should pull the code out of main.js when things are stable.