Unit and integration tests, CI (closes #30)
Squashed version of !25 (closed)
This PR introduces tests, including unit-testing for functionality of each command, and integration tests through electron flows.
Coverage of the src
directory is around 85%. There is scope for moving some more CLI functionality into the src
to allow it to be tested, but the current setup covers the vast majority of functionality.
Note that this MR depends on a bugfix that has been PRd to prompt
, so for now it's using my branch.